-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging issues - With the merge of all of the recent changes #58
Comments
Quick update: Current rebuild on windows machine (in WSL) and still not seeing any input from Putty window... Was working before, still looks |
Just to confirm am seeing the same thing on the nano and giga |
With the current stuff, I am having a lot of problems trying to debug stuff on the NANO I have a USB to serial adapter hooked up to TX/RX pins connected to terminal program (Currently using a version When I boot sometimes I will see in putty window: the uart:~$ type prompt. Now if I build with mode: Debug, a prompt shows up in the IDE2 Serial monitor window. I can type a few commands (Back in mode; normal) Suggestions? For now I will try to add code to initialize the SPI1 devices and use some other print statements and the like |
After we merged all of the most recent Pull requests and the appears to be issues with using the debug monitor or console...
On the GIGA for example, SPI1 is no longer, So I am trying to debug that:
I have USB to serial adapter connected to Serial1 as before. I am running in Standard mode:
When I run the sketch, the sketch simply dies, and all I see in the monitor is:
uart:~$
It also does not allow me to enter anything.
Currently I am debugging this by adding printk statements into the code to find out where it is dying.
I know that it is within the STM32 SPI code as now my current debug outputs show:
This is with my newer GIGA connected up to my Windows machine... I tried once yesterday with compiling with mode: Debug and it would not allow me to enter anything like: sketch
If I try running this with my original GIGA board, which is currently connected up to my Ubuntu machine, I have an additional problem, that for some reason, this GIGA acts like I always build for debug. It originally respected the setting for debug versus standard, but at some point, it always started to act like in debug and I have to enter: sketch
to get it to run... And keyboard input is not working... And I have burned the loader many different times, loaded many sketches, also loaded sketches built for MBED... But when I reload zephyr bootloader and sketch still have to enter: sketch.
Suggestion?
Side note: I am in the process of making sure I have a clean install on my Ubuntu machine, so I deleted, the: ArduinoCore-zephyr directory, as well as zephyr and modules:
I git cloned (in my case):
At this point is it OK to simply do the: ./extra/build_all.sh
or do we first need to do:
My guess is yes, as if I look at: zephyr project and do a: git branch
It shows: (might be typos as typing this in from windows machine)
My windows machine, where yesterday I did the west update, it shows:
Note: I will now do update again on windows machine to see if maybe something changed overnight.
It did...
The text was updated successfully, but these errors were encountered: