[SAM G55]: failure downloading any new application

Discussion around product based on ARM Cortex M4 core.
This forum will be discontinued soon.

Moderators: nferre, ncollot

ahmedismailm
Posts: 1
Joined: Wed Dec 09, 2015 8:55 pm

[SAM G55]: failure downloading any new application

Wed Dec 09, 2015 9:44 pm

I need to write a an application on SAM G55 that write on the end of flash a big array ( 15-20 KB).

I started with the code example: FLASH programming example and i made sure that it s working successfully.
Then i changed the test page address start to :

Code: Select all

TEST_PAGE_ADDRESS (IFLASH_ADDR + IFLASH_SIZE - IFLASH_PAGE_SIZE * 38)
When i compiled the program and started downloading i got these message from Atmel studio when the downloder starts downloading the application:
Failed to launch program
No device detected Error: 4109
And then cannot use the SAM G55 in downloading any other application. but the the original application of (Flash Programming Example) can run successfully.


Cannot know the root cause of this error. Is there something got corrupted in the flash related to bootloader or the EDBG?

Thanks in advance
mehdi
Posts: 3
Joined: Mon Dec 12, 2016 9:24 am

Re: [SAM G55]: failure downloading any new application

Mon Dec 12, 2016 9:27 am

Up :o

I am facing the same scenario but the code is different. Could I have bricked the Atmel ICE ?
mehdi
Posts: 3
Joined: Mon Dec 12, 2016 9:24 am

Re: [SAM G55]: failure downloading any new application

Wed Dec 14, 2016 7:23 am

Ok I found out that clean uninstalling Atmel studio and the drivers then reinstalling them was somehow solving this bug.

Return to “SAM4 Cortex-M4 MCU”

Who is online

Users browsing this forum: No registered users and 1 guest