SAM-BA times out after transferring 8kB of data

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

Hi All,

I've been fighting to get the SAM-GBA bootloader working for a couple of weeks.  It seems like as soon as I make some progress, I hit another brick wall.  I am using a SAML21J18B with the SAM-BA bootloader configured to use a SERCOM uart.  I can connect to the chip through the SAM-BA GUI and view the device memory.  I have the starting address of my application code set to 0x6000 within the SAM-BA bootloader project and have made sure to link my application code with that starting address.  When I try to load the application code through the SAM-BA gui it loads the first 0x2000 bytes of code and then times out with the following error:

-E- Generic::Write returned error (expected integer but got "-E- Timeout: The applet did not return. 
Please ch")

I have tried changing the value of the BOOTPROT [2:0] fuse setting but this seems to make no difference in regards to this problem.  Can anyone suggest what I might try next or where I could have screwed things up?  The documentation is a bit shaky and I'm out of ideas.  Thanks.

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

Please see my post Sun. Mar 12, 2017 - 02:39 AM

-- this sounds like the same problem.

 

Post title is "  ">Bug in SAM-BA 2.16 "

JP

JP

Last Edited: Sun. Mar 12, 2017 - 03:24 AM