Custom firmware on Pico #5957
Replies: 1 comment
-
Posted at 2018-06-20 by @gfwilliams I'm not sure what to suggest - using DfuSe should work fine to update everything - you should have total control over what's on the chip... so I'd think the lack of LED is probably some issue in your code (no idea what though!). Chances are you found it but: http://www.espruino.com/Pico#advanced-reflashing If you install an actual release binary like Posted at 2018-06-20 by user91236 Ok Ill check my code again. In Keil I did change the target to Pico chip but it is essential the same chip as my nucleo 401RE. Yes I can reload Espruino back on it and it works and can program through web IDE even. That's how I know the DFU process is working. Guess I wasn't sure if this process got rid of the Espruino bootloader too and that was causing problems if left behind. Posted at 2018-06-21 by @gfwilliams Yes, the Espruino bootloader sits in the first 16kB page of flash - so that's probably the first thing that gets removed when you upload your own code - I'd be pretty sure the issue is just with the code you're uploading. Posted at 2018-06-22 by user91236 I figured it out. I had some GPIOB configuration wrong. All seems to be working now. Thanks Gordon |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-06-20 by user91236
I am trying to load my own code that was developed on a STM32F401 nucleo with Keil into the Pico. I tried through DfuSe and it seems to load with no errors but the program doesn't seem to be running since the led is not blinking like I set up.
My question is how do I go about wiping out the Espruino code to load my own?
I ruined my ability to use SWD since one of the pads pulled off. Not happy about that. usart1 PA9 isn't available to load through serial so it seems DFU is the only option. I tried with the web IDE and advanced firmware option and the red led stayed lit and that was it.
I have read through the forums some but found nothing related.
Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions