/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Error 403 when trying to restore original factory code into Primer2

Username:     
Password:     
             

Forum
  • Index
  •  » STM32 primer
  •  » Error 403 when trying to restore original factory code into Primer2

# 1   2010-03-28 20:03:02 Error 403 when trying to restore original factory code into Primer2

craigh
New member
Registered: 2009-05-14
Posts: 6

Error 403 when trying to restore original factory code into Primer2

A while ago my Primer2 stopped working, wouldn't turn on.  Not sure if it was the program I was working on or something else.  I got distracted with other projects and have not played with it for some time (months) since then.  Recently, I tried to restore the factory configuration with the 'Restore_Primer2_Circle_Factory.bat' command but it didn't work.  I got the following output on my PC:


!!! WARNING: This will program the original code into the STM32-Primer2. !!!
!!!      All applications currently loaded will be erased.               !!!

Press Ctrl-C to abort.
Press any key to continue . . .

Cortex_pgm: software for programming Cortex chips using a RLink as master.
Copyright Raisonance 2009.


(0)
Selecting target: STM32F103VET6_CircleOS...
(0)
Connecting to RLink... OK
Connecting to target... OK
          Silicon Revision Id: 0x10016414.
          Option bytes: RDP=0xA5, USER=0xFF, WRP=0xFFFFFFFF

(3)

Erasing Option Bytes...
         !!! Error 403: Error: Execution out of debugging limitation: PC=0x0301F04E

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

STM32-Primer2 programmation failed. Please check that the "Debug" USB connector
  is plugged and that the STM32-Primer2 is powered up.
(press the STM32-Primer2 button if you are unsure)

Press any key to continue . . .


It hangs for a few seconds at 'Erasing Option Bytes...' then produces the error 403 message.  I have done the restore before and it worked correctly then.

The Primer2's battery is charged and the jumper inside is installed.  During the period of inactivity while I was distracted, the jumper inside was removed.  During the programming attempt, the red activity LED blinks.  Any ideas?

Craig.

Offline

 

# 2   2010-04-22 17:15:20 Error 403 when trying to restore original factory code into Primer2

craigh
New member
Registered: 2009-05-14
Posts: 6

Re: Error 403 when trying to restore original factory code into Primer2

I did a bit of investigating and found that my Primer2 had a dead U17.  I'll suppose this is the cause of my Error 403 problems.  I can get the parts to do the repair and upgrade the power supplies.

One question though.  What value of ceramic capacitor do I replace the tantalum capacitors with?  I couldn't find that detail in the 'Resolve Known Problems' on this web site.

Cheers,

Craig.

Offline

 

# 3   2010-04-29 07:42:51 Error 403 when trying to restore original factory code into Primer2

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Error 403 when trying to restore original factory code into Primer2

C23 and C56 have to be replaced with the ceramic capacitor, and the same value (10µF)

Offline

 

# 4   2010-05-06 05:07:21 Error 403 when trying to restore original factory code into Primer2

craigh
New member
Registered: 2009-05-14
Posts: 6

Re: Error 403 when trying to restore original factory code into Primer2

Thank you.

Craig.

Offline

 

  • Index
  •  » STM32 primer
  •  » Error 403 when trying to restore original factory code into Primer2

Board footer