SAMB11 unable to erase the program and port new program

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Although atmel studio reports success with the program, chiperase and erase commands there seems to be no effect on the actual program running on the board.  I'm not sure if I'm missing something fundamental or possibly the SAMB11 Xplained board is just not supported by atmel studio.

 

When trying to program the SAMB11 Xplained board (that has been erased through Atmel Studio 7) with an elf file it also doesn't work.

 

The programming finishes very quickly compared to programming through Atmel Studio and afterwards the SAMB11 Xplained board remains unresponsive as if the board is still erased.

 

I tried with samb flash tool which is in C:\Program Files (x86)\Atmel\Studio\7.0\packs\atmel\SAMB11_DFP\2.1.129\tools but unable to install the application. it simply appears for one 1sec and disappears immediately.

 

Any fix for this....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey,

I also have the same program and it's driving me insane. However as for you samb flash tool disappearing, go to the cmd directly and access the path to the actual .exe.... when you try to execute you will get a message saying select mode. For some reason the application never prompts the user with a gui or choice. So enter sambflashtool.exe -h and you will get all the possible commands for the program. So for erasing type on sambflashtool.exe erase and it'll "erase" BUT I have had no freaking luck get the flash wiped out.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi nagaiec,

 

After some digging I found the solution, or at least it works for me. It seems that the device pack included under the general Atmel Studio 7 install comes with SAMB11 DFP Pack Ver. 2.1.157 which support the BluSDK 8.0. Now, all other threads I have seen claim to use the Device Pack Ver. 2.1.129 which supports the BluSDK 7.0. Once I switched to this device pack version to use the SambFlashTool, I can write, read, and erase perfectly fine! 

 

Device pack install link: http://packs.download.atmel.com/    ***Download the 2.1.129 version. Atmel will bring up a device pack manager to install it to the right location. 

 

Then I went to the exe manually via the cmd. See the attachment. You can enter SambFlashTool.exe -h  to get all the possible commands for this .exe. Use the erase command as shown to erase. I have not tried the actual atmel studio yet which would be more convenient. I will keep you updated. Shame Atmel does not keep up on these types of bugs/issues. 

 

Attachment(s):