Teensy code = Arduino code?

Arduino/Teensy software/code questions and discussion
User avatar
Helder
Trailblazer
Trailblazer
Posts: 2769
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1407 times
Been thanked: 3075 times

Re: Teensy code = Arduino code?

Post by Helder » Mon May 30, 2016 3:02 pm

Couldn't you use an external programmer that takes advantage of the ISP pins (there is usually a header on the board).

Image
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

User avatar
Fleder
Posts: 848
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 182 times
Been thanked: 257 times

Re: Teensy code = Arduino code?

Post by Fleder » Mon May 30, 2016 11:52 pm

wermy wrote:Sorry for the delayed response. There's no way to reset it? That is frustrating. Have you poked around in the Arduino menus (the Tools menu specifically)? I've used some types of boards before that I had to manually select a reset type. I'm not sure if that's any help with your board. Here's an example from an Adafruit Wifi Arduino board I've used (this menu doesn't show up for every board, though):
No worries.
The problem is, many users reported that, if the board starts acting as a USB HID it will only send those inputs and not accept anything else.
So, it might work but i am not really eager to give it a shot if it may render my board unresponsive.
Some wrote about this jumper you can set, that makes the board only go into USB HID Mode if it is set and if you disconnect it, it is responsive to the IDE again. Well, guess i have to find out how to do this.

But thanks for helping.
Helder wrote:Couldn't you use an external programmer that takes advantage of the ISP pins (there is usually a header on the board).
I own one of those. Do you think this will work even if the Arduino Boad is in USB HID Mode and constantly sends inputs?

User avatar
Helder
Trailblazer
Trailblazer
Posts: 2769
Joined: Thu May 05, 2016 8:33 am
Location: Fall River, MA
Has thanked: 1407 times
Been thanked: 3075 times

Re: Teensy code = Arduino code?

Post by Helder » Tue May 31, 2016 12:50 am

Most arduino chips have a stock bootloader and the only way I know to erase it is to use an external programmer. Basically you use the external programmer and connect it to the isp pins then hit the reset button and use the program compatible with the programmer like AVRDude.
My Sale Threads:

Retro PSU, 3.5A output!


Chat with me and other members


Don't contact me about obtaining my board files (as you will not get them). Don't contact me about any of my boards if they are sold out, they will be restocked as soon as I can get them.


Don't support thieves like ckliang who copied my AIO to resell and is now cloning the mintyPi, support the original creators and not the thieves!

User avatar
Fleder
Posts: 848
Joined: Thu May 05, 2016 9:04 am
Location: Germany
Has thanked: 182 times
Been thanked: 257 times

Re: Teensy code = Arduino code?

Post by Fleder » Tue May 31, 2016 12:59 am

Helder wrote:Most arduino chips have a stock bootloader and the only way I know to erase it is to use an external programmer. Basically you use the external programmer and connect it to the isp pins then hit the reset button and use the program compatible with the programmer like AVRDude.
Yes, i read about that, but i am not sure if this will work if the module is unresponsive.
Plus, there is no actual reset button on both, the module and the programmer. So i guess you are talking about a software reset.
Well, i am trying to find some help in the programming section of the arduino forum, and if find the solution for this jumper problem, i will report back with a full tutorial on how to switch the teensy for a much cheaper leonardo clone. Hopefully :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest