buildersnax.blogg.se

Usb floppy emulator yamaha gotek
Usb floppy emulator yamaha gotek













But like you said, you may not be able to erase a page of flash from SWD if read protectedīTW. STLink must do that, as it can update its self when read protected. Re: Erasing a page in flash when read protected

usb floppy emulator yamaha gotek

I presume you uploaded to RAM using STLink or perhaps BMP using GDB ? Or with the Serial bootloader ?Ĭan you change the PC to that the processor will execute from RAM, I thought some of those debugging features were disabled when the device is read protected. I guess if you manage to install some code that dumps the flash via serial, and put it in the top page of flash, ( if its possible to write to that area of flash), you may be able to get the code to crash and execute the dumping code, but it seems unlikely. But I cant recall if you can set the PC and then perhaps run from that location. The trick where you change the PC address, works on some chips, including the Nordic nRF51822, but I tried it on the STM32 a few months ago, and it does not work.Īctually, what I tried was setting the PC and then single stepping in the debugger, and I know that does not work. the PC when read protection is enabled, in fact most SWD functions are disabled. I am not sure if you can even upload to empty pages of flash with read protection enabled.It may be possible via swd but not by the bootloaoder.Īlso, I dont think you can alter the registers e.g.

usb floppy emulator yamaha gotek

You may find you cant upload to RAM at all with read protection enabled. Victor, I like the idea of dumping the code simply by uploading and running from ram, but I suspect that STM would have thought of that possibility.















Usb floppy emulator yamaha gotek