Welcome! Log In Create A New Profile

Advanced

Unresponsive CPU

Posted by NovaHuta 
Unresponsive CPU
January 28, 2021 08:57AM
So, I'm adjusting Marlin config, burning and testing.

After a burn, I look at screen, it is blank, the hotend is still on and it starts to smoke, turn off power... what happened?

Arduino Duo board looks fine, no smoke (except for hot end), Arduino IDE recognizes CPU but no communication with SAMX3E8. Poke around, checking voltages, all good. Get Oscilloscope out, crystal to programmer chip is good but the crystal XIN XOUT pins at the SAMX3E8 is flat. There is 3.2V to the CPU.

??

Is my CPU dead? what can stop a clock from functioning? I check the reset button and that signal goes high and low as expected with button presses.
VDX
Re: Unresponsive CPU
January 28, 2021 09:21AM
... bad chip ... bad PCB ... wrong set configuration flags ... not correct flashing ... or something totally different ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Unresponsive CPU
January 28, 2021 10:17PM
Searched around, yep, I'm pretty sure the thing is dead now.

I did find this tip which I share here because it was hard to find and topical. Was from a forum on Microchip.

I tried it but it didn't work for me. My signal generator can output up to 20V but I'd noted that there was a high load on the chip, with 3.2V output, connected it dropped to 1V. I'd cranked output on generator to 20V but connected to the chip, it was only about 2.2V ... should be good enough but no, nothing. If it wasn't dead then, it is now. smiling smiley

---

Re: "Unable to enter programming mode" error SAM4S
Thu Feb 18, 2016 7:24 pm
So I have finally figured this bug out.

It turns out in the errata of the SAM3S datasheet, buried deep deep down. (Doc 6500E-ATARM-11-Feb-13, page 1068, (wrongly numbered 11068!).
45.2.4 SAM-BA
45.2.4.1 SAM-BA Boot: Start-up Issue when Using No Clock on XIN
If no crystal (between XIN/XOUT) or no ceramic resonator (between XIN/XOUT) or no bypass mode (on XIN) is used, SAM-BA Boot may not start on some parts. As SAM-BA Boot is running by default when the Flash is erased, the parts cannot be accessed even by JTAG under those conditions.

Problem Fix/Workaround
Use an external crystal or ceramic resonator on XIN/XOUT, or use the Main oscillator in bypass mode (applying a clock on XIN).
My custom made PCB does not have an external clock on XIN/XOUT, I used SCLK (32768 Hz) for timing and the internal oscillator to execute instructions. Consequently, some of my custom PCBs work as SAMBA boots correctly, and some, well, just don't.

So what I did to make these boards work was provide a 1 MHz clock to XIN using a signal generator. Apply power to the PCB, then connect using the ATMEL-Ice. This connects fine. After that I set the GPNVM Bit 1 so we boot from flash, not SAMBA, programmed the device and it works fine.

I sure hope they issue a rev B for this range of chips without this error.

J
Sorry, only registered users may post in this forum.

Click here to login