warpboy

problem with compiling new setup midibox cv / Mplab 7.4

7 posts in this topic

hello,

I'm trying to compile my own setup.asm file (J5 enabled+encoder+aout NG) in mplab 7.4 (pc version)

 

here is the result on my screen :

 

Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p18F452 "setup TORB.asm" /l"setup TORB.lst" /e"setup TORB.err"
Error[108]   C:\MIDICV\SETUP TORB.ASM 2 : Illegal character (
)
Error[129]   C:\MIDICV\SETUP TORB.ASM 4 : Expected (END)
Halting build on first failure as requested.
BUILD FAILED: Wed Jan 09 04:28:51 2002

 

 

I don't understand why I've two errors. The Expexted END is not in the original .asm file downloaded on UCAPPS....

 

Any idea to help me compiling my config ?

my midibox CV is ready to start ....but before I need to update and make and .hex file

 

 

thank you by advance for helping me :-)

 

W

Share this post


Link to post
Share on other sites

Hi,

 

this application can't be built with MPLAB, please use gputils instead as recommended via the README.txt (the README links to a Wiki page which describes the details).

 

However, here a quickstart for you without the need to install the complete toolchain.

 

Only install gputils: http://sourceforge.net/projects/gputils/files/gputils-win32/0.14.3/gputils-0.14.3.exe/download

Thereafter open a cmd terminal, change to the midibox_cv_* directory, and enter following command in the command line:

 

 

gpasm  -p p18f452  -I./src -I ./include/asm -I ./include/share -I ./modules/app_lcd/dummy -I ./modules/aout   setup\ torb.asm

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Hello TK,

 

Thank you, it works, at the first time !!!!

 

Now I'll add the encoder to my .asm file ( midibox CV with Aout NG : 2buttons + 1 encoder version)

 

Thank you for all the midibox projects :queen:

Share this post


Link to post
Share on other sites

Hello, my midibox cv is fully assembled, but I have a problem with the cv.

when I go from one octave to the next, the voltage increase only of 0,5v instead of 1v???

could it be a problem with my asm file or one problem with the DAC ?

 

Thank you by advance

Warpboy

Share this post


Link to post
Share on other sites

Sounds like a problem with the DAC - what kind of AOUT module are you using, and how did you calibrate it?

 

Best Regards, Thorsten.

Share this post


Link to post
Share on other sites

Hello TK,

I'm using AOUT NG kit from smash tv. I'm using it in unipolar mode and calibrate the CV 1 to 8 with P1-P8  ( 5K multiturn trimpot)

Out D (pin 15) from the DAC isn't working too , Out D = 0v

 

I've looked for a short between the traces around the DAC, everything seems to be ok.

 

I 've checked for +/- 12v and 5V on aout NG board. TL074 and the DAC are correctly supplied.

 

Does it means I have burned the DAC ?    :pinch:

 

Thank you

 

Fabien

Share this post


Link to post
Share on other sites

after measurements, if I look at out A ( pin 12 ) of the DAC, each time I increase of 1 octave the voltage increase of 200mV....Is it correct ? and it's the same for all the others outputs ( there is only outputs D  and F that don't work for all notes)

Edited by warpboy

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