How to import sketch with multiple tabs?

I am attempting to use my nano as a UDPI programmer using jtag2udpi sketch from here.

Mentioned in the readme and in other tutorials, opening the file jtag2updi.ino, should result in the IDE populating the other sketch files into tabs in the arduino IDE, but I am left with just a blank first sketch and no other tabs with the remaining sketch files in the folder.

The same thing happens if i try an arduino IDE 1.x

Is there a way to force the IDE to open all sketch files?

cheers
Brian

What did you download and how did you copy it to your PC ?

I have dowwnloaded the zip file from the code green drop down menu on the page.
Exported all the contents to a folder within my arduino IDE directory.
Used double click on the .ino file and file>open and had the same results

The jtagupdi.ino file on GitHub is empty so I am not surprised at what you see (or don't)

You can see from this video tutorial at this time stamp that the jtagupdi file is intended to be blank when opened in the IDE, and the sketch code is contained in the associated files. problem is i dont know how to get the associated files to open with it.

What is the full path to the folder into which you unzipped the files ?

After some experimenting, I have realised it is due to how the zip file has been structured when compiled from the github. The jtag2udpi.ino file is in a subdirectory from the associated sketch files and doesnt pull them in. the associated files must be moved into the subdirectory to successfully open!

i realise that this is probably something trivial for a experienced user to identify but this is my first time coming across multi sketch files

All that is required is that all of the files are in the same folder as the .ino file and that the folder name matches the name of that .ino file

Thanks for your time replying to this!

No problem

Good luck with the code going forward

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.