Shoryuken

Freezing when loaded via ZAP IDE

6 posts in this topic

Hi,

I get a few problems after I upload the Audio_RetroCade_Synth example from the ZAP IDE :(

 

- When I play a track (SID, MOD or YMD) from the smallFS, there is no sound and the joystick stops responding.

However, the tinyloop() function continues to be called repeatedly, and my MIDI keyboard still plays sounds.

 

- When I try to see SDCard files, the Retrocade Synth also freezes.

It happens just when I try to navigate in the "SID SD Card" section with the joystick, so I can't go further and I can't play any track.

 

Besides that, all is working properly when I load the .BIT file (the one into the Audio_RetroCade_Synth example directory) with the Papilio Loader.

What could be wrong ? :mellow:

My settings :
- RetroCade MegaWing Bundle (bought here : http://store.gadgetfactory.net/retrocade-megawing-bundle/on july 2015)
- ZAP IDE 2.3.0
- Board > ZPUino 1.0 (32-bits) Boards > ZPUino on PapilioPro (LX9), RetroCade on RetroCade MegaWing
- Windows 7

Share this post


Link to post
Share on other sites

You could try to enable the debug mode and watch for errors over the serial port for any hints...

 

Jack.

Share this post


Link to post
Share on other sites

Thans for your quick answer.

 

I have enabled the Debug Mode but the console doesn't show error messages.

It's like the tracks were correctly loaded. For example :

track3.modOpening Mod File from SmallFS.4D 2E 4B 2E  Number of patterns: 1Memory needed: 6328Loading sample data ptrAll loaded

But by the way I noticed an anomaly !

The list of smallFS files shows 9 SID files, 9 MOD files and 9 YMD files while the "smallfs" directory in the example contains only 3 of each...

I've certainly forgotten to clear smallFS memory or something like that ?  :unsure:
 
I hope this is the cause of my problem ^_^

Share this post


Link to post
Share on other sites

Oh, the list of smallFS files is not dynamically generated. I had to hard code them because at the time smallFS did not support listing its contents. So I hard coded 9 files 1-9.

 

Jack.

Share this post


Link to post
Share on other sites

Ok this was unrelated to my problem.
 
I've switched to DesignLab 1.0.7 instead of ZAP and now it's working fine :)
I first had this error :
Board mismatch!!!.
Board is:      0xa4041700 'GadgetFactory Papilio Pro LX9'
Sketch is for: 0xb4041700 'GadgetFactory Papilio Pro LX9 (ZPUino 2.0)'

then I clicked "Load Circuit" and Uploaded again.
 
I can now start to have fun  B)
 
----
 
Otherwise, I could not install DesignLab Linux Package. I had this error while decompressing :
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

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