Author |
Message |
Topic: 18f8722 Bootloader RAM array Issues |
surfer0815
Replies: 2
Views: 4978
|
Forum: General CCS C Discussion Posted: Tue Apr 19, 2011 5:19 am Subject: 18f8722 Bootloader RAM array Issues |
Thanks a lot! That did it!
I added your define and Jump_to_isr and now my Ram array seem to stay stable!
Greetings from Germany! |
Topic: Is some wrong with my schematic ? |
surfer0815
Replies: 3
Views: 4301
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2011 3:16 am Subject: Is some wrong with my schematic ? |
HI! Ground pin 5 on your com Connector, and change Pin 2 and 3 of Com connector, It looks like your schema is wrong. |
Topic: 18f8722 Bootloader RAM array Issues |
surfer0815
Replies: 2
Views: 4978
|
Forum: General CCS C Discussion Posted: Sun Apr 17, 2011 3:12 am Subject: 18f8722 Bootloader RAM array Issues |
Hi!
I´m working now for long time on a Bootloader for a 18f8722.
This loader is reading FW Update file (compiled hex file) from an SD card, and updates the PIC FW.
All is working well, update is s ... |
Topic: 18f8722 two serial ports Problems |
surfer0815
Replies: 8
Views: 13285
|
Forum: General CCS C Discussion Posted: Sat Jan 08, 2011 8:13 am Subject: 18f8722 two serial ports Problems |
Ttelmah:
You are right, that the incoming char, has to be read in the isr itself, otherwise rcreg is not cleared and the isr loops endless times!
Now I put a simple buf=fgetc(ua1); to the isr an ... |
Topic: 18f8722 two serial ports Problems |
surfer0815
Replies: 8
Views: 13285
|
Forum: General CCS C Discussion Posted: Sat Jan 08, 2011 8:07 am Subject: 18f8722 two serial ports Problems |
David (drh):
Thats it! Thanks a lot!
If i read the rcreg1 in isr1 and rcreg2 in isr2, the code WORKS!!!!
jecottrell:
I tried out your posted code, but same issue as my own code, if i send on ... |
Topic: 18f8722 two serial ports Problems |
surfer0815
Replies: 8
Views: 13285
|
Forum: General CCS C Discussion Posted: Sat Jan 08, 2011 6:11 am Subject: 18f8722 two serial ports Problems |
Ok, I tried a few things more and here is what i got:
If I put this to one of the ISR Routines: fprintf(uart1,"int occured");
I send a char to the pic, and then I see an endless output o ... |
Topic: 18f8722 two serial ports Problems |
surfer0815
Replies: 8
Views: 13285
|
Forum: General CCS C Discussion Posted: Sat Jan 08, 2011 4:57 am Subject: 18f8722 two serial ports Problems |
Hi!
I tried it now for a few days, to get serial com working on 18f8722, so now I hope someone here could give me the tricky bit I have to set for a working pic.
If I compile this code, I can see ... |
|