[Ack]v1.40..2.50: Help on MMC library, still some issues

General discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#6 Post by yo2lio » 30 Jun 2009 09:25

Dany, I had the same problem with PIC18F2620, in the past with my UDP bootloader ENC28J60. (my SPI library and my ENC library)

This problem was solved, I don't remember exactly how, I kept SS pin LOW or HIGH via 4k7 resistor.

Please try mikroe example again with pull up or pull down resistor on SS pin.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#7 Post by Dany » 30 Jun 2009 10:31

yo2lio wrote:Dany, I had the same problem with PIC18F2620, in the past with my UDP bootloader ENC28J60. (my SPI library and my ENC library)

This problem was solved, I don't remember exactly how, I kept SS pin LOW or HIGH via 4k7 resistor.

Please try mikroe example again with pull up or pull down resistor on SS pin.
Thanks, I will. :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#8 Post by Dany » 30 Jun 2009 11:26

Dany wrote:
yo2lio wrote:Dany, I had the same problem with PIC18F2620, in the past with my UDP bootloader ENC28J60. (my SPI library and my ENC library)

This problem was solved, I don't remember exactly how, I kept SS pin LOW or HIGH via 4k7 resistor.

Please try mikroe example again with pull up or pull down resistor on SS pin.
Thanks, I will. :D
Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!
Good to know. Thanks! :D :D

Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#9 Post by yo2lio » 30 Jun 2009 13:31

Dany wrote: Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!
Good to know. Thanks! :D :D

Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.
It's a silicon BUG I think !
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

#10 Post by Dany » 18 Aug 2009 09:41

yo2lio wrote:It's a silicon BUG I think !
Seems it is, but I can not find it in any "errata" document. Also some users on the Microchip forum report this problem (for another PIC however), see:
http://www.microchip.com/forums/tm.aspx?m=369346.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Post Reply

Return to “mikroPascal PRO for PIC General”