Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firmware_manual Rev / DEV_MODE [solved]
#1
Hi,

1/ ds30loader_110111.exe file has an obsolete ds30_loader_firmware_manual.pdf. This comes with a rev K documentation!!
rev M file is available on line !
ds30loader_110111!.exe should get latest documentation file ?

2/In Firmware manual documentation file (rev M) it's writen in page 7 :
2. Customize settings.inc
All lines commented with xxx needs to verified/changed.
DEV_MODE
Used during development, delete or comment this line.


If you comment/delete this line (DEV_MODE), you got an build error from MPLAB !

Here is what you can find in line 286 of ds30_loader.asm file (18F firmware)

ifndef DEV_MODE
error Do you need to configura uart pins to be digital? If not, remove this line
endif


DEV_MODE variable is used in asm file !

So, rather to delete/comment this line in Settings.inc file, DEV_MODE variable should be better set at 0 ?
Reply
#2
Hi,
It should actually be removed and you should follow the instructions in the error.

Maybe I should rephrase the error to something like this:
"Configure uart pins to be digital if needed, then remove this line"
Reply
#3
Well, I'm not sure to understand correctly what has to be done when this line is removed.

   

Because Build failed under MPLab !
Reply
#4
It is supposed to fail and your are supposed to read the line and take appropriate action.
Which device are you using?
Reply
#5
Oups! Sorry to forgot.

18F4685.

Thanks
Reply
#6
UART pins are not co-located with analog pins so you don't need to configure the a/d.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)