-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fubarino Mini USB Serial drops out after download #23
Comments
Does the sketch you downloaded use the serial object? |
In later versions of chipKIT-core the bootloader and application use
different USB VID/PID numbers. This causes the serial port to change on
Windows and Mac. I think it does not change on Linux because Linux always
assigns the next available port. Check to see if the board exists on
another port after programming.
Jacob
…On Wed, Apr 3, 2019, 1:08 PM lenhalio ***@***.***> wrote:
After downloading via the USB Serial port, the USB Serial port drops out
and the application cannot re-establish the USB Serial connection (e.g.
Serial(115200)) does not start and the USB serial link is not started even
when "Serial" is selected in the IDE
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAMGazVT4cr0MzugKF5Gz61d0zWUJ6cMks5vdQpWgaJpZM4cbV0P>
.
|
Hi Brian,
Yes, I instantiate the Serial object by Serial.begin(115200) and then use it later in the sketch by Serial(“Program Started”);
Just a simple “Blink program” :
#define LED_BUILTIN 1 // was13 Fubarino SD is pin 21, Fubarino Mini is pin 1
// the setup function runs once when you press reset or power the board
void setup() {
// intialize the serial ports and report interface type
Serial.begin(115200);
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
Serial.println("LED ON");
delay(5000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
Serial.println("LED OFF");
delay(5000); // wait for a second
}
This works for Fubarino SD just fine.
Regards,
Len
… On Apr 3, 2019, at 6:12 PM, Brian Schmalz ***@***.***> wrote:
Does the sketch you downloaded use the serial object?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa20ZfoI4tTQD7fLeUPWoV5LN-GUAGks5vdSc4gaJpZM4cbV0P>.
|
Hi Jacob,
Thanks for your reply.
Yes, I did look to see if the Serial link came up on another port but it doesn’t seem that is the case.
But if the VID/PID numbers changed that would make sense…..expect that works fine for the Fubarino SD but the the Mini…crazy huh…
Regards,
Len
… On Apr 3, 2019, at 8:17 PM, Jacob Christ ***@***.***> wrote:
In later versions of chipKIT-core the bootloader and application use
different USB VID/PID numbers. This causes the serial port to change on
Windows and Mac. I think it does not change on Linux because Linux always
assigns the next available port. Check to see if the board exists on
another port after programming.
Jacob
On Wed, Apr 3, 2019, 1:08 PM lenhalio ***@***.***> wrote:
> After downloading via the USB Serial port, the USB Serial port drops out
> and the application cannot re-establish the USB Serial connection (e.g.
> Serial(115200)) does not start and the USB serial link is not started even
> when "Serial" is selected in the IDE
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#23>, or mute the
> thread
> <https://github.com/notifications/unsubscribe-auth/AAMGazVT4cr0MzugKF5Gz61d0zWUJ6cMks5vdQpWgaJpZM4cbV0P>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa2-AL9b6iMkei1fiRXXLRrLuFCkzcks5vdUSygaJpZM4cbV0P>.
|
OK, that's good to know. Something strange is definitely going on here. What version of chipKIT-core are you using? And can you tell me what version of Fubarino Mini you have? |
Len,
In the tools menu there are three USB options. I think Brian was eluding to
these being correctly set to Serial.
But if its working on an SD and not a Mini that is weird. There are several
Mini options 40Mhz, 48MHz, etc. Have you tried them all?
Jacob
…On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***> wrote:
OK, that's good to know. Something strange is definitely going on here.
What version of chipKIT-core are you using? And can you tell me what
version of Fubarino Mini you have?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P>
.
|
Sure….yes, I had set the USB options to Serial.
Not sure which version….is there a version number on the board.
Just bought a few from Microchip Direct….would that tell you which version?
I did try the 48 MHz bootloader but not the 50 MHz….
Regards,
Len
… On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.***> wrote:
Len,
In the tools menu there are three USB options. I think Brian was eluding to
these being correctly set to Serial.
But if its working on an SD and not a Mini that is weird. There are several
Mini options 40Mhz, 48MHz, etc. Have you tried them all?
Jacob
On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***> wrote:
> OK, that's good to know. Something strange is definitely going on here.
> What version of chipKIT-core are you using? And can you tell me what
> version of Fubarino Mini you have?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P>.
|
The ones from Microchip Direct will either be v1.5 or v2.0. It is printed
on the circuit board in white silk screen around the processor chip. The
v2.0s are *very* new, and maybe have problems yet?
There are no 50MHz Fubarino Minis (except at my desk I think, and possibly
a couple of other chipKIT devs), as they require a special bootloader.
Choosing 48MHz is the correct choice.
When you put your FBMini back into bootloader mode, are you still able to
get it to bootload new sketches?
*Brian
…On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.***> wrote:
Sure….yes, I had set the USB options to Serial.
Not sure which version….is there a version number on the board.
Just bought a few from Microchip Direct….would that tell you which version?
I did try the 48 MHz bootloader but not the 50 MHz….
Regards,
Len
> On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.***>
wrote:
>
> Len,
>
> In the tools menu there are three USB options. I think Brian was eluding
to
> these being correctly set to Serial.
>
> But if its working on an SD and not a Mini that is weird. There are
several
> Mini options 40Mhz, 48MHz, etc. Have you tried them all?
>
> Jacob
>
>
> On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***>
wrote:
>
> > OK, that's good to know. Something strange is definitely going on here.
> > What version of chipKIT-core are you using? And can you tell me what
> > version of Fubarino Mini you have?
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <
#23 (comment)
>,
> > or mute the thread
> > <
https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
>
> > .
> >
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <
#23 (comment)>,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
>.
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P>
.
|
Hi Brian,
The version is 1.5. I assumed the boot loader that came with the board would be the right one but I did try the 48 MHz boot loader on another board….same issue.
Yes, there is no problem downloading the hex file and getting the code to execute…..just no output via the USB Serial port from the downloaded code.
I should mention that I am using UECIDE from Matt Majenko but since that works fine with the Fubarino SD I didn’t see that IDE as a problem.
Regards,
Len
… On Apr 3, 2019, at 9:37 PM, Brian Schmalz ***@***.***> wrote:
The ones from Microchip Direct will either be v1.5 or v2.0. It is printed
on the circuit board in white silk screen around the processor chip. The
v2.0s are *very* new, and maybe have problems yet?
There are no 50MHz Fubarino Minis (except at my desk I think, and possibly
a couple of other chipKIT devs), as they require a special bootloader.
Choosing 48MHz is the correct choice.
When you put your FBMini back into bootloader mode, are you still able to
get it to bootload new sketches?
*Brian
On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.***> wrote:
> Sure….yes, I had set the USB options to Serial.
>
> Not sure which version….is there a version number on the board.
>
> Just bought a few from Microchip Direct….would that tell you which version?
>
> I did try the 48 MHz bootloader but not the 50 MHz….
>
> Regards,
>
> Len
>
>
>
> > On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.***>
> wrote:
> >
> > Len,
> >
> > In the tools menu there are three USB options. I think Brian was eluding
> to
> > these being correctly set to Serial.
> >
> > But if its working on an SD and not a Mini that is weird. There are
> several
> > Mini options 40Mhz, 48MHz, etc. Have you tried them all?
> >
> > Jacob
> >
> >
> > On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***>
> wrote:
> >
> > > OK, that's good to know. Something strange is definitely going on here.
> > > What version of chipKIT-core are you using? And can you tell me what
> > > version of Fubarino Mini you have?
> > >
> > > —
> > > You are receiving this because you commented.
> > > Reply to this email directly, view it on GitHub
> > > <
> #23 (comment)
> >,
> > > or mute the thread
> > > <
> https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
> >
> > > .
> > >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub <
> #23 (comment)>,
> or mute the thread <
> https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
> >.
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P>.
|
Hmm. Any chance you could try Arduino IDE with chipKIT core? I wonder if
there's something strange going on with UECIDE? (I don't normally test with
UECIDE.)
*Brian
…On Wed, Apr 3, 2019 at 9:36 PM lenhalio ***@***.***> wrote:
Hi Brian,
The version is 1.5. I assumed the boot loader that came with the board
would be the right one but I did try the 48 MHz boot loader on another
board….same issue.
Yes, there is no problem downloading the hex file and getting the code to
execute…..just no output via the USB Serial port from the downloaded code.
I should mention that I am using UECIDE from Matt Majenko but since that
works fine with the Fubarino SD I didn’t see that IDE as a problem.
Regards,
Len
> On Apr 3, 2019, at 9:37 PM, Brian Schmalz ***@***.***>
wrote:
>
> The ones from Microchip Direct will either be v1.5 or v2.0. It is printed
> on the circuit board in white silk screen around the processor chip. The
> v2.0s are *very* new, and maybe have problems yet?
>
> There are no 50MHz Fubarino Minis (except at my desk I think, and
possibly
> a couple of other chipKIT devs), as they require a special bootloader.
> Choosing 48MHz is the correct choice.
>
> When you put your FBMini back into bootloader mode, are you still able to
> get it to bootload new sketches?
>
> *Brian
>
> On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.***>
wrote:
>
> > Sure….yes, I had set the USB options to Serial.
> >
> > Not sure which version….is there a version number on the board.
> >
> > Just bought a few from Microchip Direct….would that tell you which
version?
> >
> > I did try the 48 MHz bootloader but not the 50 MHz….
> >
> > Regards,
> >
> > Len
> >
> >
> >
> > > On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.***>
> > wrote:
> > >
> > > Len,
> > >
> > > In the tools menu there are three USB options. I think Brian was
eluding
> > to
> > > these being correctly set to Serial.
> > >
> > > But if its working on an SD and not a Mini that is weird. There are
> > several
> > > Mini options 40Mhz, 48MHz, etc. Have you tried them all?
> > >
> > > Jacob
> > >
> > >
> > > On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***
>
> > wrote:
> > >
> > > > OK, that's good to know. Something strange is definitely going on
here.
> > > > What version of chipKIT-core are you using? And can you tell me
what
> > > > version of Fubarino Mini you have?
> > > >
> > > > —
> > > > You are receiving this because you commented.
> > > > Reply to this email directly, view it on GitHub
> > > > <
> >
#23 (comment)
> > >,
> > > > or mute the thread
> > > > <
> >
https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
> > >
> > > > .
> > > >
> > > —
> > > You are receiving this because you authored the thread.
> > > Reply to this email directly, view it on GitHub <
> >
#23 (comment)
>,
> > or mute the thread <
> >
https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
> > >.
> > >
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <
#23 (comment)
>,
> > or mute the thread
> > <
https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P
>
> > .
> >
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <
#23 (comment)>,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P
>.
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P>
.
|
It will take a while as I will have to download and set up the Arduino IDE but will try it and let you know.
Regards,
Len
… On Apr 3, 2019, at 10:39 PM, Brian Schmalz ***@***.***> wrote:
Hmm. Any chance you could try Arduino IDE with chipKIT core? I wonder if
there's something strange going on with UECIDE? (I don't normally test with
UECIDE.)
*Brian
On Wed, Apr 3, 2019 at 9:36 PM lenhalio ***@***.***> wrote:
> Hi Brian,
>
> The version is 1.5. I assumed the boot loader that came with the board
> would be the right one but I did try the 48 MHz boot loader on another
> board….same issue.
>
> Yes, there is no problem downloading the hex file and getting the code to
> execute…..just no output via the USB Serial port from the downloaded code.
>
> I should mention that I am using UECIDE from Matt Majenko but since that
> works fine with the Fubarino SD I didn’t see that IDE as a problem.
>
> Regards,
>
> Len
>
>
> > On Apr 3, 2019, at 9:37 PM, Brian Schmalz ***@***.***>
> wrote:
> >
> > The ones from Microchip Direct will either be v1.5 or v2.0. It is printed
> > on the circuit board in white silk screen around the processor chip. The
> > v2.0s are *very* new, and maybe have problems yet?
> >
> > There are no 50MHz Fubarino Minis (except at my desk I think, and
> possibly
> > a couple of other chipKIT devs), as they require a special bootloader.
> > Choosing 48MHz is the correct choice.
> >
> > When you put your FBMini back into bootloader mode, are you still able to
> > get it to bootload new sketches?
> >
> > *Brian
> >
> > On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.***>
> wrote:
> >
> > > Sure….yes, I had set the USB options to Serial.
> > >
> > > Not sure which version….is there a version number on the board.
> > >
> > > Just bought a few from Microchip Direct….would that tell you which
> version?
> > >
> > > I did try the 48 MHz bootloader but not the 50 MHz….
> > >
> > > Regards,
> > >
> > > Len
> > >
> > >
> > >
> > > > On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.***>
> > > wrote:
> > > >
> > > > Len,
> > > >
> > > > In the tools menu there are three USB options. I think Brian was
> eluding
> > > to
> > > > these being correctly set to Serial.
> > > >
> > > > But if its working on an SD and not a Mini that is weird. There are
> > > several
> > > > Mini options 40Mhz, 48MHz, etc. Have you tried them all?
> > > >
> > > > Jacob
> > > >
> > > >
> > > > On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.***
> >
> > > wrote:
> > > >
> > > > > OK, that's good to know. Something strange is definitely going on
> here.
> > > > > What version of chipKIT-core are you using? And can you tell me
> what
> > > > > version of Fubarino Mini you have?
> > > > >
> > > > > —
> > > > > You are receiving this because you commented.
> > > > > Reply to this email directly, view it on GitHub
> > > > > <
> > >
> #23 (comment)
> > > >,
> > > > > or mute the thread
> > > > > <
> > >
> https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
> > > >
> > > > > .
> > > > >
> > > > —
> > > > You are receiving this because you authored the thread.
> > > > Reply to this email directly, view it on GitHub <
> > >
> #23 (comment)
> >,
> > > or mute the thread <
> > >
> https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
> > > >.
> > > >
> > >
> > > —
> > > You are receiving this because you commented.
> > > Reply to this email directly, view it on GitHub
> > > <
> #23 (comment)
> >,
> > > or mute the thread
> > > <
> https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P
> >
> > > .
> > >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub <
> #23 (comment)>,
> or mute the thread <
> https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P
> >.
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa28iCdNWcK_olRZaA2ylWkB1jvdaaks5vdWXXgaJpZM4cbV0P>.
|
Hi Brian,
Got the Arduino IDE downloaded and set up.
Compiled and loaded the Blink program with no problem….runs fine
After the download, when I tried opening the Serial Monitor, I got the error message below:
Board at /dev/cu.usbmodem141101 is not available
This time, as Jacob suggested, there seemed to be another port.
When I connected to that port, sure enough the Serial messages appeared !!
But I am not seeing this new port using UECIDE……Hummm…..Matt, any ideas?
Regards,
Len
… On Apr 3, 2019, at 10:43 PM, Halio.us ***@***.***> wrote:
It will take a while as I will have to download and set up the Arduino IDE but will try it and let you know.
Regards,
Len
> On Apr 3, 2019, at 10:39 PM, Brian Schmalz ***@***.*** ***@***.***>> wrote:
>
> Hmm. Any chance you could try Arduino IDE with chipKIT core? I wonder if
> there's something strange going on with UECIDE? (I don't normally test with
> UECIDE.)
>
> *Brian
>
> On Wed, Apr 3, 2019 at 9:36 PM lenhalio ***@***.*** ***@***.***>> wrote:
>
> > Hi Brian,
> >
> > The version is 1.5. I assumed the boot loader that came with the board
> > would be the right one but I did try the 48 MHz boot loader on another
> > board….same issue.
> >
> > Yes, there is no problem downloading the hex file and getting the code to
> > execute…..just no output via the USB Serial port from the downloaded code.
> >
> > I should mention that I am using UECIDE from Matt Majenko but since that
> > works fine with the Fubarino SD I didn’t see that IDE as a problem.
> >
> > Regards,
> >
> > Len
> >
> >
> > > On Apr 3, 2019, at 9:37 PM, Brian Schmalz ***@***.*** ***@***.***>>
> > wrote:
> > >
> > > The ones from Microchip Direct will either be v1.5 or v2.0. It is printed
> > > on the circuit board in white silk screen around the processor chip. The
> > > v2.0s are *very* new, and maybe have problems yet?
> > >
> > > There are no 50MHz Fubarino Minis (except at my desk I think, and
> > possibly
> > > a couple of other chipKIT devs), as they require a special bootloader.
> > > Choosing 48MHz is the correct choice.
> > >
> > > When you put your FBMini back into bootloader mode, are you still able to
> > > get it to bootload new sketches?
> > >
> > > *Brian
> > >
> > > On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.*** ***@***.***>>
> > wrote:
> > >
> > > > Sure….yes, I had set the USB options to Serial.
> > > >
> > > > Not sure which version….is there a version number on the board.
> > > >
> > > > Just bought a few from Microchip Direct….would that tell you which
> > version?
> > > >
> > > > I did try the 48 MHz bootloader but not the 50 MHz….
> > > >
> > > > Regards,
> > > >
> > > > Len
> > > >
> > > >
> > > >
> > > > > On Apr 3, 2019, at 9:24 PM, Jacob Christ ***@***.*** ***@***.***>>
> > > > wrote:
> > > > >
> > > > > Len,
> > > > >
> > > > > In the tools menu there are three USB options. I think Brian was
> > eluding
> > > > to
> > > > > these being correctly set to Serial.
> > > > >
> > > > > But if its working on an SD and not a Mini that is weird. There are
> > > > several
> > > > > Mini options 40Mhz, 48MHz, etc. Have you tried them all?
> > > > >
> > > > > Jacob
> > > > >
> > > > >
> > > > > On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz ***@***.*** ***@***.***>
> > >
> > > > wrote:
> > > > >
> > > > > > OK, that's good to know. Something strange is definitely going on
> > here.
> > > > > > What version of chipKIT-core are you using? And can you tell me
> > what
> > > > > > version of Fubarino Mini you have?
> > > > > >
> > > > > > —
> > > > > > You are receiving this because you commented.
> > > > > > Reply to this email directly, view it on GitHub
> > > > > > <
> > > >
> > #23 (comment) <#23 (comment)>
> > > > >,
> > > > > > or mute the thread
> > > > > > <
> > > >
> > https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P <https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P>
> > > > >
> > > > > > .
> > > > > >
> > > > > —
> > > > > You are receiving this because you authored the thread.
> > > > > Reply to this email directly, view it on GitHub <
> > > >
> > #23 (comment) <#23 (comment)>
> > >,
> > > > or mute the thread <
> > > >
> > https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P <https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P>
> > > > >.
> > > > >
> > > >
> > > > —
> > > > You are receiving this because you commented.
> > > > Reply to this email directly, view it on GitHub
> > > > <
> > #23 (comment) <#23 (comment)>
> > >,
> > > > or mute the thread
> > > > <
> > https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P <https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P>
> > >
> > > > .
> > > >
> > > —
> > > You are receiving this because you authored the thread.
> > > Reply to this email directly, view it on GitHub <
> > #23 (comment) <#23 (comment)>>,
> > or mute the thread <
> > https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P <https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P>
> > >.
> > >
> >
> > —
> > You are receiving this because you commented.
> > Reply to this email directly, view it on GitHub
> > <#23 (comment) <#23 (comment)>>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P <https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P>>
> > .
> >
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa28iCdNWcK_olRZaA2ylWkB1jvdaaks5vdWXXgaJpZM4cbV0P>.
>
|
In order for USB serial to transmit from the Fub mini the dte or dtr need
to be set by the terminal program. But Matt should know this since he is
the one that implemented this in chipKIT-core. I seem to recall some funny
business with this on Macs. Sounds like a UECIDE issue on Mac.
Jacob
…On Wed, Apr 3, 2019, 8:09 PM lenhalio ***@***.***> wrote:
Hi Brian,
Got the Arduino IDE downloaded and set up.
Compiled and loaded the Blink program with no problem….runs fine
After the download, when I tried opening the Serial Monitor, I got the
error message below:
Board at /dev/cu.usbmodem141101 is not available
This time, as Jacob suggested, there seemed to be another port.
When I connected to that port, sure enough the Serial messages appeared !!
But I am not seeing this new port using UECIDE……Hummm…..Matt, any ideas?
Regards,
Len
> On Apr 3, 2019, at 10:43 PM, Halio.us ***@***.***> wrote:
>
> It will take a while as I will have to download and set up the Arduino
IDE but will try it and let you know.
>
> Regards,
>
> Len
>
>
>
>> On Apr 3, 2019, at 10:39 PM, Brian Schmalz ***@***.***
***@***.***>> wrote:
>>
>> Hmm. Any chance you could try Arduino IDE with chipKIT core? I wonder if
>> there's something strange going on with UECIDE? (I don't normally test
with
>> UECIDE.)
>>
>> *Brian
>>
>> On Wed, Apr 3, 2019 at 9:36 PM lenhalio ***@***.***
***@***.***>> wrote:
>>
>> > Hi Brian,
>> >
>> > The version is 1.5. I assumed the boot loader that came with the board
>> > would be the right one but I did try the 48 MHz boot loader on another
>> > board….same issue.
>> >
>> > Yes, there is no problem downloading the hex file and getting the
code to
>> > execute…..just no output via the USB Serial port from the downloaded
code.
>> >
>> > I should mention that I am using UECIDE from Matt Majenko but since
that
>> > works fine with the Fubarino SD I didn’t see that IDE as a problem.
>> >
>> > Regards,
>> >
>> > Len
>> >
>> >
>> > > On Apr 3, 2019, at 9:37 PM, Brian Schmalz ***@***.***
***@***.***>>
>> > wrote:
>> > >
>> > > The ones from Microchip Direct will either be v1.5 or v2.0. It is
printed
>> > > on the circuit board in white silk screen around the processor
chip. The
>> > > v2.0s are *very* new, and maybe have problems yet?
>> > >
>> > > There are no 50MHz Fubarino Minis (except at my desk I think, and
>> > possibly
>> > > a couple of other chipKIT devs), as they require a special
bootloader.
>> > > Choosing 48MHz is the correct choice.
>> > >
>> > > When you put your FBMini back into bootloader mode, are you still
able to
>> > > get it to bootload new sketches?
>> > >
>> > > *Brian
>> > >
>> > > On Wed, Apr 3, 2019 at 8:30 PM lenhalio ***@***.***
***@***.***>>
>> > wrote:
>> > >
>> > > > Sure….yes, I had set the USB options to Serial.
>> > > >
>> > > > Not sure which version….is there a version number on the board.
>> > > >
>> > > > Just bought a few from Microchip Direct….would that tell you which
>> > version?
>> > > >
>> > > > I did try the 48 MHz bootloader but not the 50 MHz….
>> > > >
>> > > > Regards,
>> > > >
>> > > > Len
>> > > >
>> > > >
>> > > >
>> > > > > On Apr 3, 2019, at 9:24 PM, Jacob Christ <
***@***.*** ***@***.***>>
>> > > > wrote:
>> > > > >
>> > > > > Len,
>> > > > >
>> > > > > In the tools menu there are three USB options. I think Brian was
>> > eluding
>> > > > to
>> > > > > these being correctly set to Serial.
>> > > > >
>> > > > > But if its working on an SD and not a Mini that is weird. There
are
>> > > > several
>> > > > > Mini options 40Mhz, 48MHz, etc. Have you tried them all?
>> > > > >
>> > > > > Jacob
>> > > > >
>> > > > >
>> > > > > On Wed, Apr 3, 2019, 6:14 PM Brian Schmalz <
***@***.*** ***@***.***>
>> > >
>> > > > wrote:
>> > > > >
>> > > > > > OK, that's good to know. Something strange is definitely
going on
>> > here.
>> > > > > > What version of chipKIT-core are you using? And can you tell
me
>> > what
>> > > > > > version of Fubarino Mini you have?
>> > > > > >
>> > > > > > —
>> > > > > > You are receiving this because you commented.
>> > > > > > Reply to this email directly, view it on GitHub
>> > > > > > <
>> > > >
>> >
#23 (comment)
<
#23 (comment)
>
>> > > > >,
>> > > > > > or mute the thread
>> > > > > > <
>> > > >
>> >
https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
<
https://github.com/notifications/unsubscribe-auth/AAMGaw5kdmfeSEfPth7zEYb6gG8mAIKKks5vdVHZgaJpZM4cbV0P
>
>> > > > >
>> > > > > > .
>> > > > > >
>> > > > > —
>> > > > > You are receiving this because you authored the thread.
>> > > > > Reply to this email directly, view it on GitHub <
>> > > >
>> >
#23 (comment)
<
#23 (comment)
>
>> > >,
>> > > > or mute the thread <
>> > > >
>> >
https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
<
https://github.com/notifications/unsubscribe-auth/Aawa25rM22qMMhbK4I_AGepo5iQXZtonks5vdVQ2gaJpZM4cbV0P
>
>> > > > >.
>> > > > >
>> > > >
>> > > > —
>> > > > You are receiving this because you commented.
>> > > > Reply to this email directly, view it on GitHub
>> > > > <
>> >
#23 (comment)
<
#23 (comment)
>
>> > >,
>> > > > or mute the thread
>> > > > <
>> >
https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P
<
https://github.com/notifications/unsubscribe-auth/AAbeCCDcGYYcxi2rSoEGzTES70zFH_hPks5vdVXMgaJpZM4cbV0P
>
>> > >
>> > > > .
>> > > >
>> > > —
>> > > You are receiving this because you authored the thread.
>> > > Reply to this email directly, view it on GitHub <
>> >
#23 (comment)
<
#23 (comment)
>>,
>> > or mute the thread <
>> >
https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P
<
https://github.com/notifications/unsubscribe-auth/Aawa2108p7SbvOcbMJDH0lKu2jF8M3yzks5vdVdcgaJpZM4cbV0P
>
>> > >.
>> > >
>> >
>> > —
>> > You are receiving this because you commented.
>> > Reply to this email directly, view it on GitHub
>> > <
#23 (comment)
<
#23 (comment)
>>,
>> > or mute the thread
>> > <
https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P
<
https://github.com/notifications/unsubscribe-auth/AAbeCNBTfqJz3xRX7iVKDNmAaiG0ZbS-ks5vdWUVgaJpZM4cbV0P
>>
>> > .
>> >
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub <
#23 (comment)>,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/Aawa28iCdNWcK_olRZaA2ylWkB1jvdaaks5vdWXXgaJpZM4cbV0P
>.
>>
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAMGa4g_peMN_deen73jfYB6lyb9I6dFks5vdWz4gaJpZM4cbV0P>
.
|
Unfortunately I don't have a Fubarino Mini to hand at the moment (well, I do, but it's controlling the backlight in a monitor at the moment). From UECIDE's perspective there are only two things that could affect it, and neither would be Mac specific:
However both of those are taken direct from the chipKIT core files. The board.txt is the only "iffy" once, since that is generated using a script from data that is in the boards.txt file from the core. It's feasible that it's not generating it correctly for that board - I'll check. |
Comparing the board.txt file for the Lenny with the Fub Mini looks identical in the places that matter, and differ in the places where they have to differ. It all looks fine. You can try implementing the USB serial manually if you like to see if it's something that's not getting done by the core:
Set the USB profile to "Custom" in the |
OK thanks….will try it out.
My thanks to all that jumped in on this to help
Regards,
Len
… On Apr 4, 2019, at 6:21 AM, Majenko Technologies ***@***.***> wrote:
Unfortunately I don't have a Fubarino Mini to hand at the moment (well, I do, but it's controlling the backlight in a monitor at the moment).
From UECIDE's perspective there are only two things that could affect it, and neither would be Mac specific:
The board.txt is configured wrong for USB, or
The Board_* files are out of date.
However both of those are taken direct from the chipKIT core files. The board.txt is the only "iffy" once, since that is generated using a script from data that is in the boards.txt file from the core. It's feasible that it's not generating it correctly for that board - I'll check.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa23n3ltG6bdFT624JmBXFagOWWLBDks5vddI-gaJpZM4cbV0P>.
|
Len/Matt any updates for this issue so far? |
Not from me…..I did try it out using the Arduino IDE and it works fine on that IDE but the UECIDE does not seem to start a com port for the Serial Monitor to pick up.
Regards,
Len
… On Apr 13, 2019, at 9:34 AM, Brian Schmalz ***@***.***> wrote:
Len/Matt any updates for this issue so far?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa22TDHB1w343LJ8gMEjJcfJW87kIBks5vgdzcgaJpZM4cbV0P>.
|
PS - also upgraded the UECIDE to the latest rev but no joy….same issue
Len
… On Apr 13, 2019, at 10:30 AM, Halio.us ***@***.***> wrote:
Not from me…..I did try it out using the Arduino IDE and it works fine on that IDE but the UECIDE does not seem to start a com port for the Serial Monitor to pick up.
Regards,
Len
> On Apr 13, 2019, at 9:34 AM, Brian Schmalz ***@***.*** ***@***.***>> wrote:
>
> Len/Matt any updates for this issue so far?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa22TDHB1w343LJ8gMEjJcfJW87kIBks5vgdzcgaJpZM4cbV0P>.
>
|
I just read through and could have missed something.
When does uecide refresh the serial port list? Oddly, try shutting
restarting uecide and see if it starts up.
…On Sat, Apr 13, 2019, 10:31 AM lenhalio ***@***.***> wrote:
PS - also upgraded the UECIDE to the latest rev but no joy….same issue
Len
> On Apr 13, 2019, at 10:30 AM, Halio.us ***@***.***> wrote:
>
> Not from me…..I did try it out using the Arduino IDE and it works fine
on that IDE but the UECIDE does not seem to start a com port for the Serial
Monitor to pick up.
>
> Regards,
>
> Len
>
>
>
>> On Apr 13, 2019, at 9:34 AM, Brian Schmalz ***@***.***
***@***.***>> wrote:
>>
>> Len/Matt any updates for this issue so far?
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub <
#23 (comment)>,
or mute the thread <
https://github.com/notifications/unsubscribe-auth/Aawa22TDHB1w343LJ8gMEjJcfJW87kIBks5vgdzcgaJpZM4cbV0P
>.
>>
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANd5LTpB54WsX56ikMhY5THOKthfi-lks5vgeo-gaJpZM4cbV0P>
.
|
I just dug my Mini out of the back of my monitor and tried it out. It worked fine first time in UECIDE:
|
I am using a Mac with Mojave OS….wonder if it is a “Mac Issue”
Len
… On Apr 13, 2019, at 10:43 AM, Majenko Technologies ***@***.***> wrote:
I just dug my Mini out of the back of my monitor and tried it out. It worked fine first time in UECIDE:
[18341.869940] usb 2-1.4.6: new full-speed USB device number 13 using ehci-pci
[18341.999074] usb 2-1.4.6: New USB device found, idVendor=0403, idProduct=a662
[18341.999077] usb 2-1.4.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18341.999078] usb 2-1.4.6: Product: Fubarino Mini
[18341.999079] usb 2-1.4.6: Manufacturer: chipKIT
[18341.999080] usb 2-1.4.6: SerialNumber: CK14D04053FFFF
[18342.000499] cdc_acm 2-1.4.6:1.0: ttyACM0: USB ACM device
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#23 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aawa2wpwGua_uICdpF2wxnDFqMiY0ZA-ks5vge0UgaJpZM4cbV0P>.
|
It could be I guess. Maybe everything is working fine, but the Mac isn't seeing the USB port for some reason. What does I do recall some CDC/ACM related issues in the past with OS X... |
After downloading via the USB Serial port, the USB Serial port drops out and the application cannot re-establish the USB Serial connection (e.g. Serial(115200)) does not start and the USB serial link is not started even when "Serial" is selected in the IDE
The text was updated successfully, but these errors were encountered: