Jump to content


Photo
- - - - -

Help with basic MBFM setup


  • Please log in to reply
9 replies to this topic

#1 TAG

TAG

    MIDIbox Newbie

  • Members
  • Pip
  • 17 posts

Posted 17 July 2012 - 19:28

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

#2 TAG

TAG

    MIDIbox Newbie

  • Members
  • Pip
  • 17 posts

Posted 17 July 2012 - 20:15

Is there EEPROM within the 452? Is is possible that the flash is being programmed properly but not the internal EEPROM?

#3 lemonhorse

lemonhorse

    MIDIbox Tweaker

  • Programmer
  • PipPipPip
  • 302 posts
  • LocationKiel (Northern Germany)

Posted 17 July 2012 - 20:21

Hi TAG

I got an error message in Mios studio


What kind of error message?

#4 Shuriken

Shuriken

    MIDIbox Guru

  • Programmer
  • PipPipPipPip
  • 510 posts
  • LocationAlkmaar, the Netherlands

Posted 17 July 2012 - 20:28

Core and OPL3 should work. Without bankstick you should have 1 patch.

#5 TAG

TAG

    MIDIbox Newbie

  • Members
  • Pip
  • 17 posts

Posted 17 July 2012 - 21:01

It gets to 98% then displays "Upload aborted due to error #4: Write failed (verify error or invalid address)"

#6 Shuriken

Shuriken

    MIDIbox Guru

  • Programmer
  • PipPipPipPip
  • 510 posts
  • LocationAlkmaar, the Netherlands

Posted 17 July 2012 - 21:52

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?

#7 TAG

TAG

    MIDIbox Newbie

  • Members
  • Pip
  • 17 posts

Posted 18 July 2012 - 15:23

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%.

#8 TK.

TK.

    MIDIbox Guru

  • Administrators
  • 12,445 posts
  • LocationGermany

Posted 18 July 2012 - 21:08

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.
Posted Image Buy TK a Beer Disclaimer: buying TK a beer gets you absolutely nothing in return likesuchas firmware enhancements, technical advices and MIDIbox troubleshooting assistance.

#9 TAG

TAG

    MIDIbox Newbie

  • Members
  • Pip
  • 17 posts

Posted 19 July 2012 - 14:04

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.

#10 Giovanni

Giovanni

    MIDIbox Newbie

  • Members
  • Pip
  • 4 posts

Posted 21 August 2012 - 22:58

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 by Giovanni, 22 August 2012 - 14:31.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users