Description
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:
[00:00:00.018,000] <inf> usb_cdc_acm: Device suspended
[00:00:00.243,000] <inf> usb_cdc_acm: Device configured
Before SPI 0x2401396c begin
After
Before beginSPITransaction(5000000)
WC:ef OutputToSPI(239) ZephyrSPI::ZephyrSPI before spi_transceive: 0x24013974 0x24035f50 0x24035f60
Enter spi_ll_stm32.c transceive before context_lock before spi_stm32_configure
before spi_context_buffers_setup: 8
After buffers setup
before LL_SPI_Enable
After LL_SPI_Enable
before LL_SPI_StartMasterTransfer
after LL_SPI_StartMasterTransfer
uart:~$
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):
git clone https://www.github.com/kurte/ArduinoCore-zephyr
cd ArduinoCore-zephyr
./extra/bootstrap.sh
At this point is it OK to simply do the: ./extra/build_all.sh
or do we first need to do:
source ./venv/bin/activate
west update
deactivate
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)
* (HEAD detached at refs/heads/manifest-rev)
manifest-rev
My windows machine, where yesterday I did the west update, it shows:
kurte@KurtXPS8950:~/git/zephyr$ git branch
* (HEAD detached at 33bc8a018ec)
manifest-rev
plin_4.0.99
kurte@KurtXPS8950:~/git/zephyr$
Note: I will now do update again on windows machine to see if maybe something changed overnight.
It did...
kurte@KurtXPS8950:~/git/ArduinoCore-zephyr/zephyr$ git branch
* arduino
nano33_overlay
kurte@KurtXPS8950:~/git/ArduinoCore-zephyr/zephyr$
Keeping fingers crossed maybe things will just work again