[riot-notifications] [RIOT-OS/RIOT] Kinetis PhyNode: failed to flash binary > 256K (#8436)

Francisco notifications at github.com
Fri Apr 19 14:00:15 CEST 2019


@smlng I think your issue is fix is you use a more recent version of openocd. The issue comes openocd script itself. If looking at master version:

https://github.com/ntfreak/openocd/blob/a4ac56152d9fc13c3fa479397407d9b86ffb13d8/tcl/target/kx.cfg#L40-L42

```
set _FLASHNAME $_CHIPNAME.pflash
flash bank $_FLASHNAME kinetis 0 0 0 0 $_TARGETNAME
kinetis create_banks

```
While looking at v0.10.0

https://github.com/ntfreak/openocd/blob/646566e006acd58fb9ac405511d3ecca79f26d55/tcl/target/kx.cfg#L37-L40

```
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME kinetis 0 0 0 0 $_TARGETNAME
```

The extra `kinetis create_banks` command is not present in the stable openocd version. Could you compile openocd from source and verify this fixes your issue. If it does we might add some kind of warning comment like @cladmi suggested in #11174.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/8436#issuecomment-484872069
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190419/40dc13d5/attachment.html>


More information about the notifications mailing list