Login  Register

Re: BlueSaab Amp pcb!

Posted by sbt on Dec 15, 2016; 12:28pm
URL: http://bluesaab-forum.90.s1.nabble.com/BlueSaab-Amp-pcb-tp737p871.html

sbt wrote
There are some robustness issues with Tim Otto's code in the RN52driver parseCmdResponse code that manifest themselves with truncated or otherwise invalid responses from the RN52, such as when changing baud or rebooting. If the RN52 stops sending new characters when the parser is waiting for more to complete an expected response, the system effectively ends up in an infinite loop (but it won't trigger the watchdog, since the loop() still executes).
Clarification: further work shows that while issues listed above are real, the root cause is sending the R,1 reboot command while PWREN pin is low. This prevents the reboot and the module becomes unresponsive after that. Having fixed that, I can now fully programme the RN52 on startup without relying on the separate RN52-BT-PRG sketch.

Now looking at some data mode concerns.
9³ 5D MY02 - Stålgrå, AS3; iOS 16.1; BlueSaab v5.0-p1+Amp v1.1, SAAB-CDC v4.1 with mods