-
-
Notifications
You must be signed in to change notification settings - Fork 16
Loosing Com Port on GIGA after reinstalling 3.1 #100
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
Comments
Playing around again with the giga verified that I put in the USB Fixes I ran a different sketch, k_define test sketch. Same thing happens. To get Comport back have to remove power for about 10seconds and it comes back. However, the sketch fails to run without any error messages in debug mode. but I am not seeing the usual cdc enable message on Serial1. ok finally got somethig on serial1 when I switched back to standard mode using the k_define test sketch. This is probably a separate issue.
this is the test sketch
|
When I run the ascii example sketch still have to poweroff and com port comes back with no errors on Serial1. Tested with a Giga_scanner sketch and noticed a warning about 1200bps touch:
Cannot perform port reset: 1200-bps touch: opening port at 1200bps: Invalid serial port
will run after a several seconds of power off. |
Another data point - if I run the graphics test sketch that we were working on:
so maybe the bus fault is a related issues.. graphicsTestGigaDisplay-250411a.zip Note have same issues with a second giga I have. |
@mjs513 and all - I think there is something that gets set somehow on some of the GIGAs that is not getting unset. As I have mentioned, I have 2 gigas with 2 display shields. On one of them, I always have to enter: sketch in window to get it to do anything... In loader/main.c I added a couple debug printk ...
And later on where it is about to look at the flags for the debug setting I added:
I was not seeing anything on my good giga that changed so I also added to the config file for giga
But on the other one, I get after programming and turning on just:
but if I then enter sketch I see:
So again, wonder what the difference is.... |
@KurtE and others I just re cloned and setup from the latest changes and included the USB Hot fixes. After loading gigascanner still no serial (no comport) on serial1 all I see is
if I do the 10sec power off and power on I get the com port back and see
If I back out the hot fixes and rebuild for the Giga same thing still happens As you said something not getting set right or clear out. UPDATE: Tried this on my second giga and exactly same things happen. Except can not even the 10sec power off trick - comport doesnt come back. Ready to throw in the towel - but thats just the frustration talking. UPDATE2: At @KurtE's suggestion (on the second GIGA) where I don't get any life in the ide if I type 'sketch' on Serial1 I will see - not i am debug mode for this
then in the IDE the comport comes back to life and the sketch runs. This is the giga scanner sketch I am using as a test. On the newer board if I load the same sketch in debug mode no life in USB or on Serial1. Only the 10sec power off/on trick get serial back. Ok have other things to do now |
@KurtE My new one (bougth about the same time as your new one) |
@KurtE and others Now if I run the graphicstest sketch on the new board:
bus fault is back. and occurs with k_define and sdram_test as well. So now have 2 giga boards behaving totally different with same firmware loaded!!!!! |
After installing 2.3.6 (IDE) started having issues with the GIGA and loosing the com port while working on Display.
After several tries of rebuilding in ubuntu opted to reinstall 0.3.1 core via the board manager after removing the old core. I did incorporate the USB fixes to make sure I had that covered.
After that I closed the IDE and reopened it. Burned the bootloader and ran the ASCIItable example sketch. Again no com port showed after uploading sketch.
If I cycle power (unplug and replug it back it in) I get the Com port back and serial monitor prints out the table. But if I hit restart I loose the com port again and nothich shows on serial1 for errors.
If I try loading the sketch in debug mode the sketch loads and runs correctly without loosing the com port.
reloading in standard mode it goes back to no comport until I cycle power.
No clue whats going on......
Dont believe @KurtE is having any issues with the giga.
Note. Tried teh C33 and not seeing this problem. Havent tried the H7 yet.
UPDATE: Tried the H7 and not seeing the problems that I am having on the giga.
The text was updated successfully, but these errors were encountered: