View previous topic :: View next topic |
Author |
Message |
LEODEO
Joined: 10 May 2005 Posts: 2 Location: Austria
|
|
Back to top |
|
 |
EDC
Joined: 26 Mar 2014 Posts: 1167

|
Posted: Thu Sep 11, 2025 2:29 pm Post subject: |
|
|
I think there is a typo in the DAT file.
I think in the lines:
3386 there is PORTMUX_TCAROUTEB but should be PORTMUX_TCBROUTEA
3389 there is PORTMUX_TCAROUTEB but should be PORTMUX_TCBROUTEA
DAT files you can watch and edit in any text editor or even Bascom if you have in Options->Environment->Editor->No reformat files "DAT" _________________ Check B-Flash -my MCS bootloader app for Android |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 6245 Location: Holland

|
Posted: Thu Sep 11, 2025 2:33 pm Post subject: |
|
|
It seems there is an error in the DAT file for the [PORTMUX]
OPTION19=TCB0
OPTION19VALUE=[DEFAULT_PA2,ALT_PF4]
OPTION19DATA=[PORTMUX_TCAROUTEB,5,xxxx1110,0,1]
change :
OPTION19=TCB0
OPTION19VALUE=[DEFAULT_PA2,ALT_PF4]
OPTION19DATA=[PORTMUX_TCBROUTEA,5,xxxx1110,0,1]
OPTION20=TCB1
OPTION20VALUE=[DEFAULT_PA3,ALT_PF5]
OPTION20DATA=[PORTMUX_TCBROUTEA,5,xxxx1101,0,1]
OPTION21=TCB2
OPTION21VALUE=[DEFAULT_PC0,ALT_PB4]
OPTION21DATA=[PORTMUX_TCBROUTEA,5,xxxx1011,0,1]
OPTION22=TCB3
OPTION22VALUE=[DEFAULT_PB5,ALT_PC1]
OPTION22DATA=[PORTMUX_TCBROUTEA,5,xxxx0111,0,1]
also put them in 1 line : Code: | config PORTMUX=overwrite,TCB0=ALT_PF4, TCB1=ALT_PF5
|
_________________ Mark |
|
Back to top |
|
 |
LEODEO
Joined: 10 May 2005 Posts: 2 Location: Austria
|
Posted: Thu Sep 11, 2025 3:36 pm Post subject: |
|
|
Thanks both for your swift and proper reply.
This compiles without errors now. |
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|