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.
[Ack]v1.40..2.50: Help on MMC library, still some issues
Thanks, I will.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.
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)
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)
Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!Dany wrote:Thanks, I will.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.
Good to know. Thanks!
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)
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)
It's a silicon BUG I think !Dany wrote: Hi Yo2Lio, a pullup or pulldown resistor (I used 1K0) on the SS pin is indeed the solution!
Good to know. Thanks!
Added later: also setting the PortA.5 (= the SS pin) direction to output is a solution. No pullup/down resistor needed in this case.
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
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
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:yo2lio wrote:It's a silicon BUG I think !
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)
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)