Author |
Message |
Topic: mmc card error with 18f4620 and enc28j60 |
OpenSys
Replies: 6
Views: 6613
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 12:58 pm Subject: mmc card error with 18f4620 and enc28j60 |
I've not used mpfs, so I can't help you there, but I can say that I have successfully mixed different mode SPI devices - Mode 0 for the Ethernet chip and Mode 1 for a DS1307 RTC. I modified the RTC dr ... |
Topic: MPFS image in eeproms - fixed |
OpenSys
Replies: 2
Views: 5425
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 12:57 pm Subject: MPFS image in eeproms - fixed |
Fixed.
Just comment the old value of:
#define MPFS_RESERVE_BLOCK (END_OF_MPFS_POINTER+4)
and sets
#define MPFS_RESERVE_BLOCK 0
VS |
Topic: MPFS image in eeproms - fixed |
OpenSys
Replies: 2
Views: 5425
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 11:01 am Subject: MPFS image in eeproms - fixed |
good news, now i can read a web page, but have errors, seams that some of the code was removed, i redefine with 32:
#define MPFS_START_POSITION 32
with "mpfs /b /r0 /ll ../pages mpfsimg.bin ... |
Topic: mmc card error with 18f4620 and enc28j60 |
OpenSys
Replies: 6
Views: 6613
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 7:45 am Subject: mmc card error with 18f4620 and enc28j60 |
Thank you,
But this mmc only works if the Ethernet module is off, so I pass the webpages to one eeprom with mpfs but have a problem reading the web page, I post it in:
http://www.ccsinfo.com/for ... |
Topic: MPFS image in eeproms - fixed |
OpenSys
Replies: 2
Views: 5425
|
Forum: General CCS C Discussion Posted: Sun Nov 21, 2010 7:34 am Subject: MPFS image in eeproms - fixed |
Hello,
I have a tcpip webserver project in pic 18f4620 and pass all webpages from rom pic to eeprom with MPFS image, but I get always 500 error in browser.
I create the image by: "mpfs /b /r0 ... |
Topic: mmc card error with 18f4620 and enc28j60 |
OpenSys
Replies: 6
Views: 6613
|
Forum: General CCS C Discussion Posted: Sun Nov 14, 2010 5:58 am Subject: mmc card error with 18f4620 and enc28j60 |
MMC_EC_NOT_IDLE in mmc_init
I don't use that particular library, but that sounds like an SPI clock idle problem.
.... Yes, the ENC28J60 is a mode 0 device, while the SD card is mode 3. Those use o ... |
Topic: mmc card error with 18f4620 and enc28j60 |
OpenSys
Replies: 6
Views: 6613
|
Forum: General CCS C Discussion Posted: Sat Nov 13, 2010 3:10 pm Subject: mmc card error with 18f4620 and enc28j60 |
Hello,
I use the ccs example ex_st_webserver2 to test mmc card in fat32, but always return MMC_EC_NOT_IDLE in mmc_init.
I check all hardware connection and seems ok, I also have shared the SPI pins ... |
Topic: 74hc595 + pic18f4620 + enc28j60, 74hc595 dont work |
OpenSys
Replies: 2
Views: 8209
|
Forum: General CCS C Discussion Posted: Wed Oct 27, 2010 6:32 am Subject: 74hc595 + pic18f4620 + enc28j60, 74hc595 dont work |
Here are the connections required by the 74595.c driver:
Signal name on PIC 74HC595 pin
EXP_OUT_ENABLE ST_CP
EXP_OUT_DO DS
EXP_OUT_CLOCK SH_SP
Other signals
+5v ... |
Topic: 74hc595 + pic18f4620 + enc28j60, 74hc595 dont work |
OpenSys
Replies: 2
Views: 8209
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2010 3:06 pm Subject: 74hc595 + pic18f4620 + enc28j60, 74hc595 dont work |
hello,
I have problems to get the 74hc595 working.
I have the pic18f4620 + enc28j60 working good, but im unable to put the 74hc595 working.
Question:
Can I use the CLK and SDO of the pic to ... |
Topic: Pic18f4620 freezes if rom pass over 50% occupation |
OpenSys
Replies: 1
Views: 2801
|
Forum: General CCS C Discussion Posted: Tue Oct 26, 2010 2:51 pm Subject: Pic18f4620 freezes if rom pass over 50% occupation |
well...... seems that the problem is the software of the programmer that sucks allot...... because only program half of the code.
Solved now with other jdm software. |
Topic: Pic18f4620 freezes if rom pass over 50% occupation |
OpenSys
Replies: 1
Views: 2801
|
Forum: General CCS C Discussion Posted: Thu Oct 21, 2010 6:11 pm Subject: Pic18f4620 freezes if rom pass over 50% occupation |
Hello,
i have programming a pic18f4620 with dhcp,icmp,http,arp,mac,lcd, but if the code pass over 50% the pic simply freezes, i removed dhcp and is like 49% rom he works ok, if active the dhcp it pas ... |
Topic: pic18f4620 and enc28j60 don't get ip and no output on serial |
OpenSys
Replies: 10
Views: 13078
|
Forum: General CCS C Discussion Posted: Thu Oct 21, 2010 6:03 pm Subject: pic18f4620 and enc28j60 don't get ip and no output on serial |
found it, it seams that is the rom of the pic, if pass over 50% occupied, pic freeze....
i will open a new post |
Topic: pic18f4620 and enc28j60 don't get ip and no output on serial |
OpenSys
Replies: 10
Views: 13078
|
Forum: General CCS C Discussion Posted: Mon Oct 18, 2010 2:19 pm Subject: pic18f4620 and enc28j60 don't get ip and no output on serial |
I found something interesting i have a web server on pic, if i activate it with
#define STACK_USE_HTTP 1
the dhcp don't work, and freeze the pic if is:
#define STACK_USE_HTTP 0
dhcp wo ... |
Topic: pic18f4620 and enc28j60 don't get ip and no output on serial |
OpenSys
Replies: 10
Views: 13078
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 6:27 pm Subject: pic18f4620 and enc28j60 don't get ip and no output on serial |
hello again,
After a while working, pic makes resets. I found that if remove the 74hc125 the resets stops so may have some problems with enc28j60 ?
The enc28j60 init's ok, the lead blink ok.
seam ... |
Topic: pic18f4620 and enc28j60 don't get ip and no output on serial |
OpenSys
Replies: 10
Views: 13078
|
Forum: General CCS C Discussion Posted: Sat Oct 16, 2010 2:17 pm Subject: pic18f4620 and enc28j60 don't get ip and no output on serial |
hello again,
After a while working, pic makes resets. I found that if remove the 74hc125 the resets stops so may have some problems with enc28j60 ?
The enc28j60 init's ok, the lead blink ok.
seam ... |
|