Go Down

Topic: China Mega 2560 (Read 6 times) previous topic - next topic

Docedison

Ya know, making the USB Adapter seems the best of all in that I can have some lights on it and I have a mega shield (by mistake long B4 the Mega) that has a footprint on it that the FTDI232 chip will fit... So... com port 0 on the mega? Finding the USB Device id would be something of a challenge as I think it might be more dependent on my computer... It hasn't acted the same... any two different times. I will go through the hardware installation, the way that windows wants... "Find New Hardware", can't hurt and it is one more thing checked out/off the list.
Down side to re-flashing the 8U... If I can't get windows to recognize the chip and the serial cable method is too.. well as they say... can't hurt it anymore than it is. The fact that it is partially recognized is a good argument for something, deciding what is I guess the Mark of the Man... Just had a weird thought, the board came with a regular usb cable but  it is blue... I wonder
I also wonder as a noob what might be different or untouchable without a special programmer in the 8U2. Something just occurred to me??? how or where is the board id stored, in the 8U2 or is there some kind of interchange with the Big Chip for device id, Windows clearly knows what it is... at any rate I am going to save the link to that page and your others, gonna make a folder in Chrome just for useful links like that... much like I used to keep a good macro library for coding, good routines/functions can save a lot of work, some clever of necessity.

Thank You, Sir, Again for your Time, Your Insights and knowledge and most of all thank you for the Hope I have again in this thing.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

spirilis

Hm, I sort've remember seeing one of those on ebay ("China Mega" or similar) from a vendor who I bought some Nordic semiconductor breakout boards from (also from Shenzhen).  IIRC they had some bare-PCB "china megas" for sale too that were cheap (well, cause they were just unpopulated PCBs ;)

Nick Gammon

Quote
Something just occurred to me??? how or where is the board id stored, in the 8U2 or is there some kind of interchange with the Big Chip for device id, Windows clearly knows what it is


The chip signature you could obtain using the "board detector" sketch. However inside the flash somewhere would be the USB signature for the device it is pretending to be.
http://www.gammon.com.au/electronics

Docedison

OH... I was hoping that there might have been more, like the 8u talking to the mega... oh well just finished dinner will keep You advised as I go. I didn't ask how to configure the IDE to use a serial cable, on my mega if the ID is in the usb interface??? Go Fish? probably as good as any due to the education involved, methinks.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Docedison

#34
May 24, 2012, 11:05 pm Last Edit: May 24, 2012, 11:36 pm by Docedison Reason: 1
More in the Ongoing Saga of "Why Not To Buy a Clone" or "China Mega 2560"
and this was a gift... too.
Some further investigation leads me to ask where is the unique device ID stored on the Mega Board. MY Uno R.3 shows up in the Win7 (X86) Device Manager in the Port (COM and LPT)
Tab as UNO R3 (COMXX).
When I plug in the Mega Clone it Always reports under the Other Devices Tab as Arduino Mega 2560 with that yellow triangular symbol that has an exclamation point in it, occasionally the Mega will also enumerate as an Unknown USB Device under the Universal Serial Bus controllers tab again with the yellow symbol.... Considering the past issues with the board, I am nearly ready to turn it into Wall Art and buy a real one next.
Is it easily possible to re-flash the 8U2 on my board with the correct data W/O "Bricking" the processor and where could I find a real simple method and the files to do it with?.
I do have every thing as far as jumpers power supplies, Etc, a Real Uno R3 and most anything except a real Atmel Programmer, That is in the mail from China and not due for a week or so.

(Added Note) Has Anyone a suggestion as to the best USB to TTL Device to use. I have several different ones based on the PL2303 driver chip and I have a couple of the FTDI232R devices that I can assemble on a shield to plug into the Mega (Hate doing that as they're 28 Pin SSOP devices) but it is do-able. IMO

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Nick Gammon

Have you tried uninstalling the device driver, unplugging it, and re-installing and accepting the driver it wants to install?

Failing that working, you could use the sketch here:

http://www.gammon.com.au/forum/?id=11638

Note the wiring carefully. You will need SD card board.

You could read (save to SD card) the existing contents of the 8U chip, just in case.

Then you could reflash it with the 8U firmware (I don't think I have one but it should be on the web site here somewhere). That may or may not work. Possibly they used different pins on the 8U to stop you doing this. Or possibly the only reason they didn't put the "official" firmware on it was for copyright reasons.

My Mega doesn't have the ISCP pins (the header is just solder pads) so I can't easily read it.
http://www.gammon.com.au/electronics

Docedison

Yes, Nick I did I went in and un-installed all the USB Driver instances I could find... So as to "level" the playing field and in the consideration that I might (and may still) have or had a driver conflict or that the device (Mega) was being rejected? as a defective device. I had further reason for this, in that hopefully my Mega might be recognized as a New Device.
No such luck, unfortunately.
I am sort of the mind that the code in the 8U2 is not returning the correct driver device information to windows and thus my board (Mega) isn't recognized properly.
Re-Flashing the Mega 8U2 seems the best way to go but I am open to any thing that works preferably with the least effort on my part.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Louis Davis

#37
May 25, 2012, 12:36 am Last Edit: May 25, 2012, 01:03 am by Louis Davis Reason: 1
What is the Hardware ID for the Mega that shows up under Other Devices?

Open Device Manager
Right Click the Mega device
Select Properties
Select Details tab
Choose Hardware Ids from the Property drop-down
Send us the Hardware Ids that show in the Value section.

Docedison

Here they are:  < USB\VID_2341&PID_0010&REV_0001 >
and the next one   < USB\VID_2341&PID_0010 >
This device is found under the Tap Other devices Tab
I attempted to un-install/re-install the CP2102 and PL2303 drivers, My Uno would not Id until I re-installed the PL2303 drivers. Re installing the CP210X uart bridge package had no effect
I mis identified my machine earlier it is an Athlon 64, 32 bit machine with Win7 SP1 installed.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Louis Davis

That Hardware ID indicates it is a Mega 2560 Rev1 or Rev2.
You should be able to install the driver for this device by pointing to the arduino\drivers folder.

Right click the device in Device Manager
Select Update Driver Software
Select Browse my computer for software
Click Browse button
Select the drivers folder under the location of your Arduino software installation
Click OK
Click Next

Tumbleweed

Doc,
Don't know if this helps but, every time I plug in a new UNO into my windows machine it installs the same inf file again and assigns it a unique com port.
Kind of a pain when installing the same sketch on three boards, I'm always forgetting to change the com port.
TomJ
Einstein once said you don't really understand anything until you can explain it to your Grandmother

Docedison

Oh GOD OF ARDUINO, THANK YOU, thank you, thank you... iT SEEMS TO BE 'Happy' at least the device is listed properly under the USB tab instead of other devices. This was a comedy of errors and I make a most POOR Comedian, AGAIN Thank You Sir. Now I can REALLY PLAY.. make more mistakes. At least I learn something every single time... IMO

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Docedison

To Put Paid to this whole thread, the Clone works, I can U/L a Sketch, see it work (Blink) it was small and an easy test, Modify the time delays and reload it and see the new values in operation.
Again Louis Davis, Thank You... Now I have that 4D systems 3.2 inch SGC display coming tomorrow (Birthday present to MYSELF!) and I can have even more Fun.
On a more serious note I don't know how many times I tried that last night and today... with much the same results as when I try "Cowboy Coding" Again thank You.

Doc
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Louis Davis

You're welcome. No problem at all. Glad you are up and running.

SolarPanels

#44
May 26, 2012, 01:29 pm Last Edit: May 26, 2012, 01:31 pm by SolarPanels Reason: 1
I think I have a similar clone from ebay (5 for $100)

I am having problems too

I load the regular arduino driver but it is so slow to upload that it times out before loading even the blink sketch (the rx led blinks very slowly during up load --like 1 blink per 20 seconds)

what is worse now my genuine mega does the same thing and it was working fine before


Go Up