So I’m happy to say that it’s back online! I had a core with a GFOYNSINCTT (green flash of your network sucks I’m not connecting to that) … no matter what I tried it would just not show networks love anymore. Openssl rsa -in core.pem -outform DER -out core_rĭfu-util -d 1d50:607f -a 1 -s 0x00002000 -v -D core_rģ.) Grab the server public key, and flash it: ĭfu-util -d 1d50:607f -a 1 -s 0x00001000 -v -D cloud_rĤ.) Grab the latest firmware and flash it ĭfu-util -a 1 -s 0x00020000 -v -D core-firmware.binĭfu-util -a 0 -s 0x08005000:leave -D core-firmware.binĥ.) If you made new keys, be sure to send someone at Spark your new public key, along with your core id, otherwise your core won’t connect to the cloud again! Openssl rsa -in core.pem -pubout -out core_public.pem Okay, lets keep going and update the radio driver on the CC3000ġ.) Grab the patch programmer from here: Ģ.) dfu it with: dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D cc3000-patch-programmer.binģ.) hold down the mode button for 3+ seconds until the light starts blinking, let your core sit for 20-60 seconds after the light stops blinking.Ĥ.) At this point you can erase your core with the st-link programmer (did you lock your bootloader?), to get it back into dfu mode It’s time to write some stuff to external flash!ġ.) Lets make some keys (optional step if your keys have been fine): openssl genrsa -out core.pem 1024 If you’re on mac / linux grab “st-flash” you can grab and build a tool yourself: git clone stlinkĤ.) Grab a copy of the latest bootloader from here: ĥ.) With your core in your programmer shield / st-link connected, lets re-flash some stuff! A.) In the windows utility set device -> settings to "connect under reset" true! (if you can't find this that's okay)ī.) do a full erase of your core, do this a few times, if you're in the windows utility, view the memory and make sure it's zero-ed out.Ĭ.) write your bootloader.bin back to 0x08000000ĭ.) congrats, you re-wrote your bootloader!Ħ.) Lock your bootloader back up! (Optional, but recommended) A.) grab the locking firmware here: ( (use "raw")ī.) dfu that to dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D locker-firmware.binĬ.) your core should reset, flash some lights, and flash 'red' when locked.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |