TAG Posted July 17, 2012 Report Share Posted July 17, 2012 I have a basic MBFM setup: Ctrlr, the MBHP_OPL3 module and the MBHP_CORE. My understanding was that once I started the MBHP_CORE with the MBFM application I would be able to play an e-piano sound with no control surface, but I am not able to get any output. I have loaded the test tone application and that works fine. After loading the test tone, when I went to reload the MBFM application in the core I got an error message in Mios studio during the download, but the MBFM application was still able to start up and run. Does Mios studio try to program a bankstick at the same time as the application? I don't yet have a bankstick in my setup. Thanks Quote Link to comment Share on other sites More sharing options...
TAG Posted July 17, 2012 Author Report Share Posted July 17, 2012 Is there EEPROM within the 452? Is is possible that the flash is being programmed properly but not the internal EEPROM? Quote Link to comment Share on other sites More sharing options...
lemonhorse Posted July 17, 2012 Report Share Posted July 17, 2012 Hi TAG I got an error message in Mios studio What kind of error message? Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 17, 2012 Report Share Posted July 17, 2012 Core and OPL3 should work. Without bankstick you should have 1 patch. Quote Link to comment Share on other sites More sharing options...
TAG Posted July 17, 2012 Author Report Share Posted July 17, 2012 It gets to 98% then displays "Upload aborted due to error #4: Write failed (verify error or invalid address)" Quote Link to comment Share on other sites More sharing options...
Shuriken Posted July 17, 2012 Report Share Posted July 17, 2012 It gets to 98% then displays "Upload aborted due to error #4: Write failed (verify error or invalid address)" What pic are you using the 18F452 or the 18F4685? and are you using the correct firmware for that pic? Quote Link to comment Share on other sites More sharing options...
TAG Posted July 18, 2012 Author Report Share Posted July 18, 2012 I am using a 452 with the 452 firmware. Mios studio shows 20736 bytes of flash and 256 bytes of EEPROM, is the 256 bytes of EEPROM the single default patch? It seems that what is happening is that I have the application with a blank patch. I got it to work by sending a patch with the SYSEX tool. It seems to be working fine now but I'm not sure why the application download in MIOS Studio isn't able to complete 100%. Quote Link to comment Share on other sites More sharing options...
TK. Posted July 18, 2012 Report Share Posted July 18, 2012 The last block is written into the internal EEPROM, strange that this failed! What happens if you upload the application again? Is the EEPROM range still failing? Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
TAG Posted July 19, 2012 Author Report Share Posted July 19, 2012 Every time I tried to upload the application I got the same error, and the application ran with what I assume was a blank patch (the displayed patch name was >>>>>>>>>>>>>>>>>>>> or something like that). I swapped the 452 out for a 4685 and was able to upload the 4685 application 100% and the application ran with the Fender Rhodes patch. I will probably try completely erasing the 452 and trying again just out of curiosity. Quote Link to comment Share on other sites More sharing options...
Giovanni Posted August 21, 2012 Report Share Posted August 21, 2012 (edited) Recently i put together my midibox fm, in the same basic configuration TAG used; trying to upload the provided setup_pic18f452_mbfm_v1.hex inside the 1.4e release, i got the same error as TAG. Since i don't use any control surface i tried to disable it in the asm file and then recompile as explained here, but MAKE gave back the following error: src/main.inc:384:error 113 symbol not previosly defined(CS_MENU_MATRIX_handler) so i opened main.inc, deleted the offending line (my programming skills are at "butcher level", wich is just beyond the "hello world" grade :sweat: ) and recompiled no error this time, and the compiled code was quite smaller and was uploaded with no problem at all into my 452, wich now runs properly hope this could help as both a bugreport or workaround Edited August 22, 2012 by Giovanni Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.