vinny

DesignLab Modplayer libraries error in MegaWing_Logicstart.ino project

3 posts in this topic

Hi ,

 

Am using    DesignLab v1.0.7 , Windows 8.1 Host , 

I am using Papilio One 500k
and then LogicStart megawing hooked  to it.
 
I selected the board and then the com port
Then I  Loaded the following circuit  ==> MegaWing_Logicstart/MegaWing_Logicstart.ino
 

I get the following  while trying to upload the sketch 

 

 

Log File

=======

 

JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500E
Using devlist.txt
 
ISC_Done       = 0
ISC_Enabled    = 0
House Cleaning = 1
DONE           = 0
Programming to SPI Flash
Using devlist.txt
Programming a Papilio One 500K
JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500E
 
Uploading "bscan_spi_xc3s500e.bit". Done.
Programming time 187.5 ms
 
Programming External Flash Memory with "C:\DesignLab-1.0.7\libraries\LogicStart_MegaWing\circuit\500K\papilio_one_500k.bit".
Found SST Flash (Pages=2048, Page Size=264 bytes, 4325376 bits).
Erasing    :
Ok
Verifying  :
.....Pass
Programming :
..............Finished Programming
Ok
Verifying  :
Using devlist.txt
.....Pass
Done.
SPI execution time 6500.3 ms
USB transactions: Write 2881 read 2164 retries 0
JTAG chainpos: 0 Device IDCODE = 0x41c22093 Desc: XC3S500E
Using devlist.txt
 
ISC_Done       = 0
ISC_Enabled    = 0
House Cleaning = 1
DONE           = 0

 

 

Found smallfs directory
C:\DesignLab-1.0.7/hardware/tools/zpu/bin/mksmallfs C:\Users\kuvineet\AppData\Local\Temp\build6587497146073409106.tmp/smallfs.dat C:\DesignLab-1.0.7\examples\MegaWing_Logicstart/smallfs 
SmallFS: Packed 1 files sucessfully!!!
C:\DesignLab-1.0.7\hardware\zpuino\zpu20\libraries\SPI\SPI.cpp:116: warning: unused parameter 'bitOrder'
C:\DesignLab-1.0.7\libraries\SD\SD.cpp:320: warning: unused parameter 'object'
C:\DesignLab-1.0.7\libraries\SD\SD.cpp:312: warning: unused parameter 'object'
C:\DesignLab-1.0.7\libraries\SD\SD.cpp:234: warning: unused parameter 'isLastComponent'
C:\DesignLab-1.0.7\libraries\SD\SD.cpp:234: warning: unused parameter 'object'
C:\DesignLab-1.0.7\libraries\SD\SD.cpp: In member function `bool SDClass::begin(uint8_t, uint8_t)':
C:\DesignLab-1.0.7\libraries\SD\SD.cpp:362: warning: control reaches end of non-void function
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:763: warning: unused parameter 'blockNumber'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:763: warning: unused parameter 'eraseCount'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:713: warning: unused parameter 'token'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:713: warning: unused parameter 'src'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:698: warning: unused parameter 'src'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:659: warning: unused parameter 'blockNumber'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:659: warning: unused parameter 'src'
C:\DesignLab-1.0.7\libraries\SD\utility\Sd2Card.cpp:582: warning: unused parameter 'sckRateID'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:1291: warning: unused parameter 'str'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:1276: warning: unused parameter 'b'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:1174: warning: unused parameter 'buf'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:1174: warning: unused parameter 'nbyte'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:667: warning: unused parameter 'v'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:653: warning: unused parameter 'fatTime'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:637: warning: unused parameter 'fatDate'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:608: warning: unused parameter 'dir'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:608: warning: unused parameter 'width'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:210: warning: unused parameter 'flags'
C:\DesignLab-1.0.7\libraries\SD\utility\SdFile.cpp:210: warning: unused parameter 'indent'
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp: In function `pt_mod_s* pt_load(char*, int)':
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:135: error: `FILE' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:135: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:135: error: `fp' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:141: error: `fopen' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:143: error: `fseek' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:144: error: `ftell' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:147: error: `fread' undeclared (first use this function)
C:\DesignLab-1.0.7\libraries\modplayer\ptplay.cpp:148: error: `fclose' undeclared (first use this function)

Share this post


Link to post
Share on other sites

I think there may not be enough memory available on the Papilio One 500K for the modplayer project to work... It should say in the comments section what boards are supported. I'm in China right now so it is difficult to check, but I get back in a couple days and can take a look.

 

Jack.

Share this post


Link to post
Share on other sites

apologies for late reply

can we go over this again. 

Is there a simpler program to check the leg  , switches and 7 segment display

 

-Vineeth

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now