I was asking me nearly the same questions, when trying to get along with the Olimex MOD-MP3 board. I was writing a few e-mails with the Olimex support to get the answers I needed.
I found out, that the SPI EEPROM (25LC640) that holds the standalone code for the VS1002 can be flashed by connecting the AVR-PG1 to the EEPGM Pins on the MOD-MP3 Board. Is that correct?
Yes, that's correct. I did it this way and it worked.
Here are my Question:
- Is the way, I try to flash the eeprom correct?
It does not seem so for me, see below.
- Is ICSP Pin RESET connected correctly to the CS Pin of the EEPGM?
I think, this is correct. See the table below, I got from the Olimex support.
- Can the EEPROM be flashed while using the 3V3 batterie power?
Yes, I did it this way. I think, it's the only way.
- Why is ponyprog only reading FF's?
I think, this is caused by a setup problem. I had the same, too, until I resolved the problems.
- Can I programm the board using the UEXT connector.
No, the Olimex support told me, that this does not work.
- In which position do the jumpers have to be, to flash the board over the eepgm port?
- - RST is closed
- EXT/BAT is in place for BAT power supply
- DREQ is open
This setting worked for me and the support told me, that this is correct.
- Can the sample code of the standalone player application of the vlsi Solution VS-10xx Proto Board be used, to make the modification i want (looping automatically).
I think this should work. I did not modify and compile the code, but took a compiled version of the standalone code and programmed the board with that code.
I took the AVR-PG2 to programm the board. The support says, that both, PG1 and PG2, should work.
You have to make a cable to connect the AVR-PG[1|2] with the EEPGM pins on the board. I got the following table from the support:
Code: Select all
ICSP connector |
pin | EEPGM pin
2 connect to 1
6 connect to 2
9 connect to 3
1 connect to 4
7 connect to 5
5 connect to 6
EEPGM pin 1 is square
You should use only the battery mode for programming, since the board must not be connected to higher voltage supply than 3.6V. I think the programmer has 5V power supply.
For PonyProg, I used the following settings:
- - PonyProg device is SPI EEPROM 2564X/95640
- PonyProg Interface Setup is AVR-ISP I/O
So, making a cable from the AVR-PG[1|2] to EEPGM pins on board according to the table, setting the jumpers as described and setting PonyProg as described worked for me.
But I'm wondering, looping does work for me without code change automatically. I just wanted to adjust the default volume. But let me know if you succeeded with the code change, I'm thinking about storing the position and go on at this position at next start-up.
Hopefully this helps you to get along with the board. It would make life easier, if Olimex would supply this little information in the data sheets.