Go Down

Topic: Arduni DUE flash page is locked? (Read 1 time) previous topic - next topic

BlackT

I got this error on DUE
https://i.hizliresim.com/rVAvPV.jpg
I errase flash with SAM-BA v2.16 then enable it, but when i try to upload sketch flash lock again.
Pleas help i also tried press erase buton and reset buton but nothing change

Palliser

I got this error on DUE
https://i.hizliresim.com/rVAvPV.jpg
I errase flash with SAM-BA v2.16 then enable it, but when i try to upload sketch flash lock again.
Pleas help i also tried press erase buton and reset buton but nothing change
Hello BackT,
Have you tried to program your Due via the native port?

-p

BlackT

yes and nothing change. But i found 'solution' i hold down erase buton then press upload and when it starts uploading i relase erase buton. It is not best solution but it works :D

Palliser

yes and nothing change. But i found 'solution' i hold down erase button then press upload and when it starts uploading i release erase button. It is not best solution but it works :D
In the past I have tried that but it is not a reliable method. The best way for me so far is to program Due via Atmel Studio. Anyway, I am happy that at least you can program your Due now. Regards.

-p

BlackT

Can you tell me how can I program it, I want to make it work like it should I don't like this temporary solution

Palliser

Can you tell me how can I program it, I want to make it work like it should I don't like this temporary solution
In addition to the Atmel Studio software, you will need a JTAG adapter to program Arduino Due using Atmel Studio. The PCB version of the Atmel ICE is cheap (~US$25) but I found a cheaper one. The IBDAP - CMSIS-DAP JTAG/SWD Debug Adapter from  Adafruit, US$19.95. There are more elegant options but very expensive like the JTAG simulator SAM-ICE from Atmel (~US$156) that needs a cable adapter like ARM-JTAG-20-10 from MicroCOntroller Pros LLC (~US$8.95).

Here some links:

https://www.adafruit.com/products/2764

http://microcontrollershop.com/product_info.php?products_id=4650

http://www.atmel.com/tools/ATMELSAM-ICE.aspx
 
-p

Go Up