ataradov / edbg

Simple utility for programming MCUs and FPGAs though CMSIS-DAP protocol. Works on Linux, MAC and Windows.
BSD 3-Clause "New" or "Revised" License
287 stars 92 forks source link

Why is the RP2040 max flash 2MB? #128

Closed nicolube closed 2 years ago

nicolube commented 2 years ago

Hallo,

is there a reason why the target "RP2040" is limited to 2MB of flash?

According to the datasheet the RP2040 supports up to 16MB flash, tried if with an fix and it works fine.

Datasheet section 2.6.3: https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf

ataradov commented 2 years ago

No real reason, I just picked some random value that I assumed most people would use. I've updated it to 16 MB.