-
When I do this: compile-to-flash After a reboot (using the reset button), it never comes back to the Forth prompt - it's just frozen. Here is the file: https://github.com/robzed/ukmarsbot_forth/blob/master/for_rp2040/WiFiNINA_gpio.fth Maybe it's my use of Follow up questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Actually, I flashed this code to my Pico W and it booted just fine afterwards. The only hitch is that after you reboot and you had compiled code to flash beforehand, the board will not respond immediately as it is regenerating the flash dictionary index, so immediately after rebooting trying to use /dev/ttyACM0 or like will fail. |
Beta Was this translation helpful? Give feedback.
-
One important note, though - unless you are very careful, try to make buffers' sizes multiples of four bytes to avoid alignment issues. Some things will work correctly when compiling to RAM will not work when compiled to flash because in many cases compiling to RAM forces alignment when compiling to flash does not. |
Beta Was this translation helpful? Give feedback.
One important note, though - unless you are very careful, try to make buffers' sizes multiples of four bytes to avoid alignment issues. Some things will work correctly when compiling to RAM will not work when compiled to flash because in many cases compiling to RAM forces alignment when compiling to flash does not.