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
Flowcode V5 AVR with MMC and test with ISIS 7
Moderator: Benj
- 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
Hello,
I got a 404 error when I tried to visit the link.
I got a 404 error when I tried to visit the link.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
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?
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?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel