Skip to main content

How to change Firmware on the Arduitape/TZXDuino/CASDuino.




Before you start.
Before starting you will need to download and install the Arduino IDE from https://www.arduino.cc/en/Main/Software

You will also need to install the libraries that are required. You can download them from
https://mega.nz/#!OU0QHbSB!g-LwaCPSBogsWWY-Rtq6-0W1DtJOe3wVFBZre28jIF8
To install these you will need to unRAR the file and copy the folder “Libraries” to the following location on your PC.
C:\Users\[Username]\Documents\Arduino

Now plug your device into your PC using a Mini USB cable and your PC should install the drivers automatically. If it does not then go to the following website for a good howto guide for the correct drivers.
http://www.instructables.com/id/Arduino-Nano-CH340/

The latest firmware files for your device can be found on the following website.
http://arduitapemarkii.blogspot.co.uk/







First time set up.
One you have downloaded and unpacked your firmware you should double click on the .ino file to start the Arduino IDE.

You will need to check that you have the correct board set up.
Go to Tools > Boards and select Arduino Nano.
 
Next you need to Select the correct processor.
Go to Tools > Processor and select ATMega328

Now, with your device plugged in to the PC you need to select the correct port. 
Go to Tools > Ports and select any Port other than Port 1.

If only COM1 shows then your drivers have not installed correctly.

Uploading Firmware
Before you upload the new firmware to your device you will need to check if the LCD settings are correct for your device. Not all I2C interfaces use the same address and for LCDs it’s either 0x27 or 0x3f. For those devices have been manufactured by myself you will find a label on the rear of the LCD with the address written on.
Instructions on how to find an I2c Address can be found here.
http://playground.arduino.cc/Main/I2cScanner

Find the line that says
LiquidCrystal_I2C lcd(0x3f,16,2); and change it to the address you require for your device.

Once that has been done you need to click on the upload button.

You should get a message “Done Uploading” and the new Firmware will be ready to go.

You can download a copy of this from here.

Comments

  1. Nice work on the guide. The LCD bit is useful, that is what caused me issues because mine was different.

    Hopefully Santa's Elves will be able to help with the Dragon loading issues :)

    Have a good Christmas.

    ReplyDelete
  2. Unfortunately Andrew is working two jobs at the moment and hasn't been able to devote much time towards the project. Hopefully when things have calmed down a little we'll be able to work on the Dragon/Coco stuff.

    Have a great Christmas and thank you for all your feedback and hard work. Always good to hear from you.

    ReplyDelete

Post a Comment

Popular posts from this blog

Introducing the TZXDuino

A Giant Leap For Nerd Kind.
I'm not usually one for silliness but Andrew Beer has been working hard in the background trying to programme the Arduino to play ZX Spectrum .TZX files without the need to convert to a .WAV. Today he has managed to do that with some .TZX files but also with .TAP files as well. The code is still very much in the early stages so the compatibility with.TZX files is still relatively low but in theory all .TAP files should work. I only have 5,246 to test.
What's even better is that the code will work on both the Arduitape and the CASDuino hardware by just uploading the programme to the Nano.

Simply download this file, unzip and load in the Arduino IDE.

TZXDuino in the wild

One of the things we've wanted from this project is for people to go out and build their own versions and show us pictures.

Well Piotr Bugaj not only has built his own but 3D printed his own case and designed a Shield for the Nano.
 SMD version.










 Non SMD version
















Piotr has also released the schematic, pcb, and gerber files. They can be downloaded from here.