Discussion in "8051 Discussion Forum" started by    Exterminator    Dec 22, 2009.
Tue Dec 29 2009, 06:17 pm
#11
I can only give you the sprint-layout screenshot, since i dont have a schematic drawn (i made up the circuit so i didn't draw a schematic first).. I hope you can see anything from it..

Wed Dec 30 2009, 05:03 pm
#12
Its hard to make out which pin goes where.
if its just a programmer then i am sure it has facility to be controlled from FLIP.
make sure you have settings enabled to control PSEN and Reset using DTR pins etc... look for the options.
Thu Dec 31 2009, 02:13 pm
#13
Converting Hex values to ascii values in C

How can can i convert hex values e.g (0x40,0x12,0x0A)retrived from 89S52 counters to ascii decimal values e.g(64,18,10)which is sent to the serial buffer (SBUF) of 8952 microcontroller.
Tue Jan 05 2010, 08:07 pm
#14


make sure you have settings enabled to control PSEN and Reset using DTR pins etc... look for the options.

Ajay Bhargav


Can you tell me where i can change these options?
Mon Jan 11 2010, 03:02 pm
#15
I've tryed it once again with a new chip and the result is the same.. I made one modification tho, that forms the folowing state:
- EA is tied to Vcc.
- ALE is not connected at all;
- PSEN is connected to grounded switch (you know it: pullup resistor is presented as well);
- RX/TX are connected to COM-port via MAX232.

When i turn on the power the controller "sucks" around 60-70mA, but when i press the PSEN grounded switch, the current drops to around 16-20mA (i guess the controller goes out of bootloader mode). While in the bootloader mode i try interfacing him with FLIP (i use a PC with default COM port settings) the timeout error accurs again. I used MAX232 and set it up on a protoboard with all the right capacitors and connections..

What else could be wrong?
Can anyone who uses the same controller upload me his programming schematics or anything that could help me to connect it correctly, since i still think there is something wrong wit the PC-uP connections...

THX!
Wed Jan 13 2010, 12:22 am
#16
i used ED2, which is similar to RD2. I have done the same, make sure to press reset after setting all the ISP conditions only then bootloader will be activated.

try this circuit, its simple and works with FLIP, well worked for me and its kind of fully controlled by FLIP so need not to interfere in programming process.

 Exterminator like this.
Wed Jan 13 2010, 03:40 am
#17
I'll build this circuit and try it out, but can you tell me what the WD ENABLE pin si..
I figured out the PSEN# and Tx, Rx..
Got one more question: What are the lenght limitations for the comunication cables? (PC to MAX232 and MAX232 to uP)
Thu Jan 14 2010, 01:46 am
#18
1 mtr is ok i believe.

that enable pin.. hmm i dont remember this circuit i found from my PC junkyard lol!
Fri Jan 29 2010, 03:46 am
#19
I haven't found the time to test the circuit, but i came up with one more question: What software do you use to write you programs and compile them? I need a BASCOM-like enviroment for AT89C51RD2..
Sun Jan 31 2010, 02:18 am
#20
i use keil for writing programs. i feel BASCOM is difficult.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Oariorrca
Wed Oct 16 2024, 01:14 am
Oariorvln
Wed Oct 16 2024, 12:59 am
Jamesrat
Wed Oct 16 2024, 12:56 am
Cazrwam
Tue Oct 15 2024, 04:50 pm
Cazrlby
Tue Oct 15 2024, 04:34 pm
Ameliaror
Tue Oct 15 2024, 03:02 pm
GlendaInvaf
Tue Oct 15 2024, 02:30 pm
Georgepucky
Tue Oct 15 2024, 12:11 am