While not a big deal for most code, we have been working with code on an LPC4078 that exceeds 90K in size now. So the download times are getting quite long. As a trial we have been using a firmware version that uses 500 Kb as the default rate, but also switching back to 19.2 for the debug interface. Doing this we've found the best way to handle baud rate switches in general in BASICtools.
I your code--
Code: Select all
main: wait(100) ' allow any characters in the queue to be sent out switchBaudRate() print chr(1) ' this flags the BASICtools the code is running at the new baud rate