??? 12/25/05 17:34 Modified: 12/25/05 17:50 Read: times |
#105927 - Test the hardware with the application Responding to: ???'s previous message |
Vinod Kumar said:
it says no microcontroller found. You said "no microcontroller found". Did it (the application) actually report "Error. Device did not acknowledge the PROGRAM ENABLE instruction."? Vinod Kumar said:
I have tested the circuit using the simple terminal emulator. connecting the MOSI, SCK, RST to the txd line one by one and the RXD to the MISO output ... During programming, the PC must be connected to the MCU's RST, SCK, MISO, and MOSI signals. Programming is performed with RST asserted. You can assign which RS-232 signals connect to which MCU signals by editing spiser.c starting at line 121 if the default assignments are not to your liking. Check the ISP signals during programming and verify them against the "Flash Programming and Verification Waveforms" section in the datasheet. Vinod Kumar said:
the AT89S8252/53 has a three byte programming instruction set, whereas the AT89S51/52 have 4 byte pgm instructions. DevInit() line 272 selects between the 3-byte and 4-byte instruction sets according to the program's "-D <dev>" option. The code comment text "3-bit or 4-bit" should be "3-byte or 4-byte". |
Topic | Author | Date |
serial port ISP programmer | 01/01/70 00:00 | |
Links | 01/01/70 00:00 | |
ponyprog | 01/01/70 00:00 | |
no luck yet | 01/01/70 00:00 | |
it will be cheaper to bou an USB paralle | 01/01/70 00:00 | |
USB Parallel Ports | 01/01/70 00:00 | |
solutions | 01/01/70 00:00 | |
Doesn't work | 01/01/70 00:00 | |
it works only for the AT89S8252 | 01/01/70 00:00 | |
Are you certain it's a software problem? | 01/01/70 00:00 | |
i have tested the hardware | 01/01/70 00:00 | |
Test the hardware with the application | 01/01/70 00:00 | |
I did test it | 01/01/70 00:00 | |
Only TX? There are 3 more to test. | 01/01/70 00:00 | |
Another note![]() | 01/01/70 00:00 |