Go Down

Topic: "Checking target MCU" taking forever. (Read 680 times) previous topic - next topic

CensoredBaquette

Jun 28, 2019, 12:08 pm Last Edit: Jun 28, 2019, 12:13 pm by CensoredBaquette
While trying to program Banggood 8x8x8 led cube, I got this problem. After selecting the right MCU-Type, port, code file and pressing the Download/Program button, but for some reason, the program is stuck on "Checking Target MCU".

I have little to no experience with programming. Any help would be appreciated.
(using STC-ISP programmer)

srnet

http://www.50dollarsat.info/
http://www.loratracker.uk/

westfw

Looks like an STC microcontroller.  Something that does not run Arduino code or use any of the Arduino tools.  I don't think we'll be able to help you...

WattsThat

I've never had a Prolific usb to serial that worked with Windows XP or win 7. Do you know with absolute certainty the adapter works with your pc? Have you done a loop back test?
Vacuum tube guy in a solid state world

CensoredBaquette

#4
Jun 29, 2019, 08:16 am Last Edit: Jun 29, 2019, 08:26 am by CensoredBaquette
this is the cube:
https://nl.banggood.com/3D-Light-Cube-Kit-8x8x8-Blue-LED-MP3-Music-Spectrum-DIY-Electronic-Kit-p-1091209.html?cur_warehouse=CN

I know it isn't an Arduino, but after searching the whole internet, this was the only site/forum where I could even find things related to this problem.

And yes, I have done the loopback test and everything works fine.

srnet

#5
Jun 29, 2019, 10:56 am Last Edit: Jun 29, 2019, 10:58 am by srnet
I know it isn't an Arduino, but after searching the whole internet, this was the only site/forum where I could even find things related to this problem.
As no-one has answered, it appears no-one knows about the combination of devices you are using, perhaps thats no surprise as they are not related to Arduino in any way.  

Perhaps go back to whoever sold you the 'Banggood 8x8x8 led cube' and ask them for help.

Quote
I have little to no experience with programming. Any help would be appreciated.
Then it would be a very good idea to choose a microcontroller that is well supported, such as Arduino.
http://www.50dollarsat.info/
http://www.loratracker.uk/

WattsThat

Isn't the USB adapter there to just stream music to the device?

I should have asked in my first post why do you think you need to reflash the processor? It should be pre-loaded from Banggood. If you're going to attempt it, you need a known good hex image to download. I've never seen a Chinese kit with an STC micro that the end user had to flash, they always arrive with the program already loaded.

FWIW, STC micros need the power pulsed to the processor to wake up the boot loader so the STC-ISP program can communicate with the device. They also need a diode and some resistors in the rx/tx lines to prevent parasitic powering of the rest of the project, it's all documented in the STC chip manuals. It might be built into the board but I seriously doubt it. It's about 10 cents worth of parts and I've never seen a Chinese DIY kit yet that had the circuit on-board, you have to build your own per the cpu manual and insert between the usb-serial adapter and the board.
Vacuum tube guy in a solid state world

WattsThat

#7
Jul 01, 2019, 04:16 pm Last Edit: Jul 01, 2019, 04:17 pm by WattsThat
I was incorrect in my previous statement about a diode and resistors in the rx/tx lines, this does not apply to the 12C series parts, only the later 15 series parts. The 12C ISP hook up is shown in the datasheet here:

http://www.stcmcu.com/datasheet/stc/stc-ad-pdf/stc12c5a60s2-english.pdf
Vacuum tube guy in a solid state world

Go Up