Page 1 of 1

Flowcode V5 AVR with MMC and test with ISIS 7

Posted: Thu Dec 17, 2015 3:56 pm
by ylanchec
Hi,

I have made a simple software with a FAT16 component and an LCD 16x2, i'm just trying the function Fat16_INIT, it works in simulation but not with a simulation with Proteus 7.

http://www.koxo.net/init-sdcard.zip

What is the problem ?

ylanchec

Re: Flowcode V5 AVR with MMC and test with ISIS 7

Posted: Thu Dec 17, 2015 6:18 pm
by Benj
Hello,

I got a 404 error when I tried to visit the link.

Re: Flowcode V5 AVR with MMC and test with ISIS 7

Posted: Thu Dec 17, 2015 7:04 pm
by ylanchec
Hi Benj,

Sorry, there was an uppercase char in the filename...

the link is good now.

Best regards

ylanchec

Re: Flowcode V5 AVR with MMC and test with ISIS 7

Posted: Tue Dec 22, 2015 6:23 pm
by Benj
Hello,

First of all I recommend that you either output a value to pin B2 or you pull B2 up to VDD using say a 10K resistor. If B2 is left as an input and has a logic low signal then the SPI will go into slave mode and lock up any master SPI communications. This is one to look out for on the AVR devices, caught me out a few times.

What's the Proteus simulation doing? Are you getting any error codes on the LCD?