|
|
|
|
|
|
|
|
|
Latest blog entry: Flying in the Neighborhood
|
|
|
|
|
|
Joined Jan 2012
674 Posts
|
Unfortunately, I immediately hit a road-block...
The ST-Link software can see the STM32F103VCT6, but I immediately get this: Code:
19:06:59 : Cannot read memory!
Disable Read Out Protection and retry.
19:09:28 : Connected via SWD.
19:09:28 : Device ID:0x414
19:09:28 : Device family :STM32F10xxx High-density device
19:09:28 : Cannot read memory!
19:09:29 : Connection to device is lost!
19:09:30 : No target connected
![]() I don't really know much about the STLink or the memory-protection available in these processors, so I'll likely do some reading on that and see what options we may have. |
|
|
|
|
|
|
Joined Jan 2012
674 Posts
|
Here is a bit more info:
The relevant section about protection is section 2.4 of the Programming manual (PM0042) This discussion contains some interesting info regarding read-protection. If we want to start from scratch, it should be trivial to mass-erase the Flash memory and reset the read-protect bit, but since we don't have many of the pages, it wouldn't be possible to flash back, so this isn't a good idea until we've dumped the original ROM. Since we CAN write to the ROM at 0x08004000 via SFU, and even with the read-protect-bit set, code can access ROM when not in DEBUG mode, it will likely be pretty easy to write a function to dump the ROM (probably out the SWD pins since they are easily accessible) and load that code via SFU. We need to find an entry point where we can put the code, and it'll definitely slow things down, but I don't see the RDP as a show-stopper (though it may make my stlink less useful (and my logic-analyzer more useful). It does however mean I won't have time to work on this much for the next several days. |
|
|
||
|
|
Quote:
|
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wanted Broken Walkera Devo and Spektrum tx | itsmillertime | Aircraft - General - Radio Equipment (FS/W) | 1 | Mar 20, 2012 04:37 AM |
| For Sale Walkera Devo 7 TX/Devo RX2625H Combo for sale | Tom Z | Aircraft - General - Radio Equipment (FS/W) | 0 | Oct 06, 2011 12:33 PM |
| For Sale Walkera Devo 7 TX/Devo RX2625H Combo for sale | Tom Z | Aircraft - Electric - Helis (FS/W) | 0 | Oct 05, 2011 11:38 AM |
| Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen | hobbypartz | Radios | 2 | May 08, 2011 11:38 PM |
| Discussion New Walkera Devention Devo 12 TX w/ Touch-Screen | hobbypartz | XHeli | 0 | May 05, 2011 11:19 PM |