Hello. Does anyone have information to share using the simplistic PonySer style COM/serial device to erase and burn the hex files to Arduino Micro (Mega32U4). It have been over ten years when I last time burned or read anything to/from chip this way. The goal is to get rid of the Arduino bootloader and burn Forth environment on it toy around with it.
ICSP is the port in the board as far as I have understood where the connection should be done. Any pitfals on Mega32U4 I should be aware of? Ie. I suppose the ICSP connection is using TTL logic levels (as most schematics seems to use that as cut-out voltage and the chips running at 5V), but my google fu is weak on this.
[Data found to this, "unofficial arduino pinout and Mega datasheet".. detective work] Also the MISO and MOSI pins as they seems to be IO-pins (double function) which are their used state (input or output) in this kind of programming. I again suppose one is locked to as output (Tx) and one is input (Rx) which way?
I suppose the chip is driven to slave in this kind of operation so the function of MISO & MOSI should be then:
MOSI = Input for chip?
MISO = Output for chip?
If someone is wondering what kind of device PonySer is, it seems to be term used these days for these more or less passive DIY serial programmers. I suppose PonyProg software have popularised the term.
Need to recheck my ponyser implementation (diodes) to see if my MoBo or Arduino will be toast.
I found this on the Mega32U4 datasheet from page 367
Quote
28.7 Serial Downloading
Both the Flash and EEPROM memory
arrays can be programmed using a se
rial programming bus while RESET
is pulled to GND. The serial programming interface cons
ists of pins SCK, PDI (inp
ut) and PDO (output). After
RESET
is set low, the Programming Enable instruction
needs to be executed firs
t before program/erase
operations can be executed. NOTE, in
Table 28-14 on page 368
, the pin mapping for serial programming is listed.
Not all packages use the SPI pins dedicated for
the internal Serial Peripheral Interface - SPI.
But what is the "Programming Enable instruction" is it a data package or electrical pulse (or pulse pattern) and if pulse is it still on +5V scale or +12 like in parallel programming mode?