/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Startup problem with Primer2 hardware version V1.2

Username:     
Password:     
             

Forum

# 1   2010-04-14 11:07:15 Startup problem with Primer2 hardware version V1.2

sradtke
New member
Registered: 2009-11-25
Posts: 2

Startup problem with Primer2 hardware version V1.2

Hallo,

I have serious problems since we got new Primer2 devices. Everything was fine with hardware version V1.1. Now we have Version V1.2 and I experience problems to boot the device when not connected to USB. We ordered 20 devices and only three of them are able
to boot from the battery.

This is my configruation:
- Ride7 Version 7.26.09.0351
- RKit-ARM Version 1.22.09.0254
- Primer 2 Version V1.2

Battery is fully charged.
- I checked the 2V8 voltage line with an oszilloscope and it looked ok ( no spikes or drops ).

These are my observations:
- When switched on while connected to USB device starts correct everytime.
- When not connected to USB only 1 in 20 attemps the device starts correctly.
- The first thing in main() is to initialize an LED port and switch on the LED. I don't even
   get to this point when a problem occures.
- I soldered a special "Power only" USB cable to connect the Primer2 without connected data lines and
   the device boots fine ( even with voltages as low a 3.3 volts ).

Any suggestions or help would be really appreciated.
Stephen

Offline

 

# 2   2010-04-15 07:53:25 Startup problem with Primer2 hardware version V1.2

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Startup problem with Primer2 hardware version V1.2

Do you reproduce the issue with the original code (CircleOS+applications) ?
Do you have a special (customized) extension board ?

Offline

 

# 3   2010-04-22 13:32:46 Startup problem with Primer2 hardware version V1.2

sradtke
New member
Registered: 2009-11-25
Posts: 2

Re: Startup problem with Primer2 hardware version V1.2

To close this subject I like to give you a short summery:

First of all I'd like to thank Yves and Francis for their great support to solve the problem: Thanks guys!

As in most cases, the real problem was sitting in front of the Primer2 - me. I have initialized the device with one clock speed and than switched it accidentally afterwards to another. Bad idea, very bad idea!

The next problem was related to the freeRTOS port for the Primer2 that I used. This version was still based on CircleOS 3.7.1. After updating to CircleOS 3.8 and the above mentioned fix the Primer 2 was able to boot again from the battery.

Stephen

Offline

 

Board footer