UC3C programming

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

Hi All,

 

I have problem with programming UC3C device (AT32UC3C0512CAU). I'm using Atmel-ICE programmer and Atmel Studion 7.  When I attempt to program the memory I get following message:

 

Timestamp:    2017-04-10 15:05:03.336
Severity:        ERROR
ComponentId:    20100
StatusCode:    131103
ModuleName:    TCF command: Modules:writeToMemory failed.

Failed to write segment at 0x80000000 to target for memorytype base

When I tried to change fuses I got following mesage:

 

Starting operation write registers
Writing register FGPFRLO...OK
Writing register USERPAGE_WORD_0...OK
Write registers...OK
Starting operation verify registers
Verify register FGPFRLO...Failed!
Verify register USERPAGE_WORD_0...Failed!
Verify registers ... Cancelled

 

 

Annoying thing is, this design is a copy-paste from previous hardware version, which works perfectly fine.

I checked voltages - 3.3V at peripherials, 1.8V at core (checked at pin 55).

I would appreciate any ideas how to solve this problem.

 

Best Regards

Jarek

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

jarekpe wrote:
I checked voltages - 3.3V at peripherials, 1.8V at core (checked at pin 55).
What's AC like? (noise, stability)

What's the clock's jitter? (phase noise)

 

"Dare to be naïve." - Buckminster Fuller

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

Thanks for idea.

 

After check - 3.3V line - 9mV RMS, 1.8V line - 3mV RMS according to the scope.

Without programming shouldn't uC use internal slow clock?

Tried with bare board with only JTAG and 3.3V assembled (uC pushed to the board by finger) and I managed to program some of the fuses.

 

For now I run out of ideas so anything is welcome.
 

 

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

jarekpe wrote:
Without programming shouldn't uC use internal slow clock?
Yes though

39.2 Service Access Bus

...

When accessing the SAB through the debugger there are no limitations on debugger frequency compared to chip frequency, although there must be an active system clock in order for the SAB accesses to complete.

...

per the datasheet.

 

aWire is an alternative to JTAG.

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Tue. Apr 11, 2017 - 06:34 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Thanks for information, however the solution I found is a bit strange:

Before programming uC for the first time I have to erase memory first. I found out that first time I'm doing this I have to hold uC reset button for 3-4sec. Afterwards programmer is working just fine and I don't have to do any strange thingsand everything works just fine.

I wonder what is the problem. Time constant of the reset circuit? If yes, why it works fine after initial erase?

 

Anyway, problem solved, thanks for interest.