I removed everything and started over. It help to a point.
This is how it looks now:
#define CONFIG_FILE “config/proffiev3_micom.h”
//#define CONFIG_FILE “proffieboard_v3_config.h”
// #define CONFIG_FILE “config/default_v3_config.h”
// #define CONFIG_FILE “config/crossguard_config.h”
// #define CONFIG_FILE “config/graflex_v1_config.h”
// #define CONFIG_FILE “config/prop_shield_fastled_v1_config.h”
// #define CONFIG_FILE “config/owk_v2_config.h”
// #define CONFIG_FILE “config/test_bench_config.h”
// #define CONFIG_FILE “config/toy_saber_config.h”
// #define CONFIG_FILE “config/proffieboard_v1_test_bench_config.h”
// #define CONFIG_FILE “config/proffieboard_v2_testing_config.h”
// #define CONFIG_FILE “config/td_proffieboard_config.h”
// #define CONFIG_FILE “config/proffieboard_v1_graflex.h”
// #define CONFIG_FILE “config/teensy_audio_shield_micom.h”
// #define CONFIG_FILE “config/proffieboard_v2_ob4.h”
// #define CONFIG_FILE “config/testconfig.h”
// #define CONFIG_FILE “config/test_bench_config.h”
What I understand I should also have the second config active (it´s not active in the list atm).
I used: “proffieboard_v3_config.h” and “config/proffieboard_v3_config.h”
but get errors. Still dont find the config file.
What is says in the proffiev3_micom.h file:
#ifdef CONFIG_TOP
#include “proffieboard_v3_config.h”
on proffieboard_v3_config.h file I havent changed anything.
Reason I dont have “proffieboard_v3_config” active is then I get errors. If I use only the “proffiev3_micom.h” I get warning messages. I then removed the [KEEP_SAVEFILES_WHEN_PROGRAMMING] line but get same warnings.
I still think I have done (or not done) something that makes it weird.
We also need to know what error message you’re getting.
(And possibly see the complete config file.)
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\Jimmy\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region SRAM2' not declared c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: C:\Users\Jimmy\AppData\Local\Temp\ProffieOS.ino.elf.ar9haH.ltrans1.ltrans.o: in function
Commands::Parse(char const*, char const*)‘:
C:\ProffieOS/ProffieOS.ino:1155: undefined reference to `DumpI2CState()’
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
Thats what I get atm.
How do I show the complete config file?
Would teamviewer be a solution?
Try removing ENABLE_DEVELOPER_COMMANDS
get this now:
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\Jimmy\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\3.6\variants\STM32L452RE-ProffieboardV3/linker_scripts/STM32L452RE_FLASH.ld:224: warning: memory region `SRAM2’ not declared
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
c:/users/jimmy/appdata/local/arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/9-2020-q2-update/bin/…/lib/gcc/arm-none-eabi/9.3.1/…/…/…/…/arm-none-eabi/bin/ld.exe: warning: changing start of section .bss by 16 bytes
Sketch uses 151168 bytes (29%) of program storage space. Maximum is 507904 bytes.
Thats just a warning or?
So then I just use one config file? And I can try upload it to the board?
uploaded and got this message:
Cannot open DFU device 0483:df11
but it completet the upload it says
ok. I´ll have a look at that. Going away a few hours now. But i will sadly have more questions. Thanks again for all help so far. Värt mer än guld :).
Update:
So I have used Zadig and found the stm32bootloader and updated it acourding to the instructions. It says it´s completed and I still get the DFU device 0483:df11 error.
I then used proffie dfu setup and installed without problem and still I get DFU device 0483:df11.
I tried different USB port and tested another cable.
I tried to reboot the proffieboard and I hear the sound and do like it´s been said to alot of other ppl with the same problem. Hold Boot and press down reset and then let go of reset and then boot button. I tried the Serial monitor on Ardunio and it works if I have the board not in bootlaoding mode and I can type in the DFU reboot command but as soon I do that it´s disconnecting and it never reboot it. When I look at devices in Windows I can see either STM32 BOOTLOADER or if i press Reset button on the board it says Proffieboard.
So the computer can find it but as soon as I try upload from ardunio it just wont work.
I tried changing USB Type in Tools on ardunio to see if there is any difference (removed the SD card and used Serial only). no difference.
It seems the driver gets installed but then removed or something, I dunno really.
Found this text when I look at the STM32Bootloader in devices and right klick it:
Device USB\VID_0483&PID_DF11\206032744630 requires further installation.
So it seems its not fully installed?
I will try upload on another computer but will need to install ardunio and things on if first.
If I can guess I would think (since reading many posts with similar problem) that it´s another driver that is messing with this. I will update again once I tried on the other computer.
Most of the time, this is caused by a guillemot driver shipped with certain flight joysticks and racing wheels.
Googling for “guillemot dfu driver” yields a variety of solutions, from uninstalling the driver to deleting certain files.
YAAAAYYY!!!
Finally it worked. I used my parents computer and it uploaded and it went all up to 100%.
I have not yet tested the card since I still need to figure out how to fix with the 8 buttons.
But Thanks for all help with this. It´s so silly that it took me 10 min with even the install time for arduino and the other thats needed and bang… done :).
I learned something tho. Never use a gaming computer when uploading with ardunio lol.
1 Like
I just again want to let the ppl involved in helping me, that I was able to power up the board now and since its 8 buttons I simply tested button 1-3, data 1-3 and free 1-3 so I was able to find the right ones for when I trigger the buttons.
Thanks for the help. It´s always easy…when you know how to do it :).
1 Like