Search found 11 matches
- Mon May 29, 2023 10:26 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
I will give it a try in the future, but the Makefile works great. I will be recommending these posts.
- Mon May 29, 2023 10:05 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
I followed your instructions and now I am able to flash through the micro usb.
The only command that did not work was dfu-util -l (did not show a list), but everything else worked.
Thanks
The only command that did not work was dfu-util -l (did not show a list), but everything else worked.
Thanks
- Mon May 29, 2023 7:01 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
For informational purposes, I flash the broad using the dongle on pins(pa9 tx, pa10 rx). Can you flash the broad using the micro usb?
- Mon May 29, 2023 6:49 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
Success! It comes up as; /dev/ttyACM0
- Mon May 29, 2023 6:27 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
I am sorry, I did not know there was another page started.
dmesg:
[ 562.369009] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 562.522910] usb 1-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 562.522930] usb 1-2: New USB device strings: Mfr=1, Product=2 ...
dmesg:
[ 562.369009] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 562.522910] usb 1-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 562.522930] usb 1-2: New USB device strings: Mfr=1, Product=2 ...
- Mon May 29, 2023 4:54 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
For some reason it shows up as "/dev/ttyUSB0", but I can not connect to it.
- Mon May 29, 2023 4:24 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
I usually put a new folder in the root/package directory and have the new directory makefile point to root directory Make.rules file.
- Mon May 29, 2023 4:16 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
Looks good. I am pretty new to programming. So I do not know of many of the flags that are to be use, but I am learning. I am trying to figure why the serial interfaces are not working (Serial.begin(115200)). I guest I will eventually figure it out.
- Mon May 29, 2023 2:39 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
Problem solved!
Changed -DVECT_TAB_ADDR=0x8002000 to -DVECT_TAB_ADDR=0x8000000
Changed -DVECT_TAB_ADDR=0x8002000 to -DVECT_TAB_ADDR=0x8000000
- Mon May 29, 2023 1:35 am
- Forum: Code snippets
- Topic: libmaple makefiles
- Replies: 27
- Views: 72135
Re: libmaple makefiles
Correction code:
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin PB1 as an output.
pinMode(PC13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(PC13, HIGH); // turn the LED on (HIGH is ...
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin PB1 as an output.
pinMode(PC13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(PC13, HIGH); // turn the LED on (HIGH is ...