Flowcode V5 AVR with MMC and test with ISIS 7

Moderator: Benj

Post Reply
ylanchec
Posts: 54
Joined: Mon Jan 14, 2013 10:14 pm
Has thanked: 2 times
Been thanked: 2 times

Flowcode V5 AVR with MMC and test with ISIS 7

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post by Benj »

Hello,

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

ylanchec
Posts: 54
Joined: Mon Jan 14, 2013 10:14 pm
Has thanked: 2 times
Been thanked: 2 times

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

Post by ylanchec »

Hi Benj,

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

the link is good now.

Best regards

ylanchec

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post 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?

Post Reply