PIC32mx150F128B hat kein USB

Support-Forum für Deutschsprachige, die in ihrer Muttersprache schreiben möchten.

Moderator: Benj

Post Reply
Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

PIC32mx150F128B hat kein USB

Post by Speed64 »

Hallo zusammen,

Beim compilieren gibt es einen Fehler weil der PIC garkein USB hat
zusätzlich hab ich auch noch einen Fehler mit der Soft RS232
Habe erst einmal nur alles initialisiert und einen sek. Takt programmiert.

C:\Users\uwe\Documents\Daten\Flowcode Projekte\Datenlogger.c:42:9: error: unknown configuration setting: 'FUSBIDIO'
#pragma config FUSBIDIO = 0
C:\Users\uwe\Documents\Daten\Flowcode Projekte\Datenlogger.c:43:9: error: unknown configuration setting: 'FVBUSONIO'
#pragma config FVBUSONIO = 0

In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:1478:0,
from C:\Users\uwe\Documents\Daten\Flowcode Projekte\Datenlogger.c:674:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC32BIT\PIC32BIT_CAL_UART.c:196:0: warning: "MX_SOFT_BAUD_X" redefined [enabled by default]
#define MX_SOFT_BAUD_X (1000000 / MX_UART_BAUD_X) - SW_OFFSET
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:1455:0,
from C:\Users\uwe\Documents\Daten\Flowcode Projekte\Datenlogger.c:674:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC32BIT\PIC32BIT_CAL_UART.c:201:0: note: this is the location of the previous definition
#define MX_SOFT_BAUD_X 1
^

C:\Program Files\Microchip\xc32\v2.41\bin\xc32-gcc.exe reported error code 0xFF



in FC8 und FC9
Bitte um hilfe
vielen Dank schon mal

Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: PIC32mx150F128B hat kein USB

Post by Speed64 »

Hallo,

habe mal die anderen PIC 32 mx 1xx getestet.
Die haben alle den gleichen Fehler in FC8 und FC9
ab mx 2xx ist der Fehler nicht mehr da.
Die Chips haben USB

MfG Speed64

stefan.erni
Valued Contributor
Valued Contributor
Posts: 654
Joined: Fri Aug 19, 2016 2:09 pm
Location: switzerland
Has thanked: 182 times
Been thanked: 179 times
Contact:

Re: PIC32mx150F128B hat kein USB

Post by stefan.erni »

Hallo Speed64


Wenn Du mich fragst hat nur die Version 2xx USB
Schau mal auf Seite 3 im PDF.

Funktioniert bei Dir schon ein PIC32 mit USB?

Gruss

Stefan

0900766b81344eca.pdf

https://docs.rs-online.com/ef06/0900766b81344eca.pdf

PIC32MX2XX USB FAMILY FEATURES

Speed64
Posts: 39
Joined: Sat Jul 16, 2016 12:08 pm
Has thanked: 4 times
Been thanked: 2 times
Contact:

Re: PIC32mx150F128B hat kein USB

Post by Speed64 »

Hallo Stefan,

ich will den Chip ohne USB benutzen.
In der Konfiguration in FC8 und FC9 haben alle PIC32MX1xx Enstellmöglichkeiten obwohl die hardwaremäßig kein USB haben.
Dadurch gibt es ja die Fehlermeldungen.
Der Compiler weiß das die einser ohne sind, aber FC schickt halt falsche Daten.

Gruß Speed64

Post Reply