On 2024-06-12 07:35:27, Felix Leonbacher wrote: > Hey Guys, > > I am an embedded systems Student in Germany and wanted to use ur apache > nuttx in my project. Sadly I am unable to flash it. I have a STM32F207 > nucleo-144 and when I come to > openocd -f interface/stlink-v2.cfg -f target/stm32f2x.cfg -c 'init' \ > -c 'program > nuttx/nuttx.bin verify reset' -c 'shutdown', > it says checksum mismatch
Hmm... just a guess, could be that you are missing flashing address? For STM it should be 0x08000000, so maybe try doing openocd -f interface/stlink.cfg -f target/stm32f2x.cfg -c 'program nuttx.bin 0x08000000' Also, it may be wise to paste whole log from openocd, there may be information you think is useless but could be vital. Second guess, try omitting 'verify', I flash without it in debug sessions and never had any problem with program. -- .-----------------.-------------------.----------------------.-----------------. | Michal Lyszczek | Embedded C, Linux | Company Address | .-. opensource | | +48 727 564 419 | Software Engineer | Akacjowa 10a; 55-330 | oo| supporter | | https://bofc.pl `----.--------------: Brzezinka Sredzka PL | /`'\ & | | GPG FF1EBFE7E3A974B1 | Bits of Code | NIP: 813 349 58 78 |(\_;/) programer | `----------------------^--------------^----------------------^-----------------'
signature.asc
Description: PGP signature