Forum: Mikrocontroller und Digitale Elektronik Pic18F4550 Bootloader problem


von Marcel K. (sunny198828)


Angehängte Dateien:

Lesenswert?

hallo ich möchte mir für den oben genannten PIC einen bootloader 
erstellen
System ubuntu 10.04
MPLAB 8.80

Fehlermeldung erhalte ich

Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 20 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 21 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Error[113]   Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 21 : Symbol not previously defined 
(_FCMEM_OFF_1H)
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 22 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 23 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 24 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 25 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 26 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 27 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 28 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 29 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 30 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.
Warning[230] Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB 
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 31 : __CONFIG has been deprecated 
for PIC18 devices.  Use directive CONFIG.

ich hoffe mir kann hier jemand helfen...

mfg sunny

von Achim M. (minifloat)


Lesenswert?

Marcel Klug schrieb:
> Z:\
Haben die da Wine mit eingepflanzt und können sich nur deshalb mit 
Multiplattformsupport rühmen?

Entweder wird da ein include nicht gefunden oder die "__Config"s sind 
wirklich aus einem triftigen Grund verboten worden, so dass sie gar 
nicht mehr angewendet werden sollen. Schon mal gegoogelt nach sowas wie 
"__CONFIG replacement" oder so?
mfg mf

PS:

Marcel Klug schrieb:
> Use directive CONFIG.
Benutze die Direktive "config" => #config??

von Holger W. (holgerw)


Lesenswert?

ich benutze die Configs in ASM nur in der Form:

    CONFIG      OSC     = HSPLL                     ; High speed PLL
    CONFIG      PWRT    = ON                        ; power up timer on

usw.
Die Werte findet man in der .inc des PICs

Holger

von Tom_TI (Gast)


Lesenswert?

Hallo!

Die einzige Fehlermeldung die ich erkennen kann ist diese Zeile hier:

Error[113]   Z:\HOME\MARCEL\DATEN\MPLAP\MPLAB
IDE\CORE\18F4550_BOOTLOADER_4MHZ.ASM 21 : Symbol not previously defined
(_FCMEM_OFF_1H)

Die Warnungen sind egal, diese Fehlermeldung solltest du mal weiter 
untersuchen.

von Tom_TI (Gast)


Lesenswert?

Holger W. schrieb:
> ich benutze die Configs in ASM nur in der Form:
>
>     CONFIG      OSC     = HSPLL                     ; High speed PLL
>     CONFIG      PWRT    = ON                        ; power up timer on
>
> usw.
> Die Werte findet man in der .inc des PICs
>
> Holger

So mache ich das beim PIC18 auch.
Die Configuration Bits kann man übrigens auch über das Hilfemenü von 
MPLab nachschlagen.

von Marcel K. (sunny198828)


Lesenswert?

Hallo okay ich habs (_FCMEM_OFF_1H) hat sich in (_FCMEN_OFF_1H) geändert 
!

Danke für die hilfe!

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.