free-pdk / easy-pdk-programmer-software

Easy PDK programmer for PADAUK microcontroller
https://free-pdk.github.io/
GNU General Public License v3.0
113 stars 37 forks source link

Fix writing devices with 4KiB flash #68

Closed silbe closed 8 months ago

silbe commented 1 year ago

easypdkprog previously used the read timeout for the write command, resulting in a timeout of only 1s instead of 2s. Also writing the full flash on a PFC161 (4KiB / 2Ki words) takes 2.8s, more than the previous write timeout. Use the correct timeout and increase it to 4s so that we can write the full amount of flash on PFC161 with sufficient margin for production tolerances and wear.