cancel
Showing results for 
Search instead for 
Did you mean: 

Flash loader troubles

infoinfo962
Associate II
Posted on August 10, 2010 at 22:14

Flash loader troubles

4 REPLIES 4
cschumann
Associate II
Posted on May 17, 2011 at 14:01

Hi,

Some months ago I tried the cmd bootloader which did not work for me, too. The error message was the same you had. The GUI bootloader worked both with the Eval board and my own PCB.

 When you tried the GUI bootloader did you pull the RST and BOOT pins of the processor in the right order?

Carsten

chikos332
Associate II
Posted on May 17, 2011 at 14:01

.ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 p.MsoNormal, .ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 li.MsoNormal, .ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 div.MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:'Calibri','sans-serif';} .ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 span.EmailStyle15 {font-family:'Times New Roman','serif';font-variant:normal !important;color:#365F91;text-transform:none;text-effect:none;text-shadow:none;text-effect:none;text-effect:none;text-decoration:none;text-underline:none;text-decoration:none;text-line-through:none;vertical-align:baseline;} .ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 .MsoChpDefault {;} @page WordSection1 {size:8.5in 11.0in;margin:70.85pt 70.85pt 70.85pt 70.85pt;} .ExternalClassC4E2F1C9E533482AA7F0BC43077A9412 div.WordSection1 {page:WordSection1;}

Hi,

I had an exactly similar issue in the past, it was due to the RS232 Gnd which was not correctly connected to PC Gnd. I simply added a wire between RS232 Cable shield (from PC) and the board DB9 connector shield (or Gnd, the same) and I found it was solving the issue. So I just re-soldered the connector correctly.

For your case, when using the probe, you connect the Gnd of the USART to the PC or Oscillo Gnd and the voltages are stabilized.
infoinfo962
Associate II
Posted on May 17, 2011 at 14:01

@Carsten

BOOT0, BOOT1 and reset pins are all stable and at the level they should be (measured to be sure). Otherwise programming would fail even with the probe's ground connected.

@chikos

That's I thought as well, so I measured all connections, cables and shields. No anomalies there. Also measured if there was a voltage difference between the USB connector shield on my laptop and ground of the PSU; 0mV.

But here's also good news. In a rare flash of brilliance I noticed the laptop was hooked up to wallsocket A while the PSU (and scope) was connected to wallsocket B which is on the other side of the room. So I figured it might be worth a try to connect both to the same wallsocket. And voila problem solved it seems. Being a software engineer this solution is beyond my understanding of electrics, so I can't explain any further (but would love to know). But it did the trick.

alexalex9
Associate II
Posted on May 17, 2011 at 14:01

Maybe Ground Loop... think of a loop antenna in a path from socket A to the electrical service, to socket B, connected by your serial cable.. that can induce currents into your serial cable ground.  Strange though, 'cause I thought most laps were isolated from the safety ground.