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
  3. I really like you post,Thanks for your sharing.

    หนังฝรั่ง

    ReplyDelete

Post a Comment

Popular posts from this blog

New Firmwares With New Features

Thanks to the help of Rafael Molina Chasserot some new features have been added to the TZXDuino and CASDuino firmwares which has freed up some memory as well, which may lead to more features being added in the future.
A percentage counter and a timer counter have been added to all screens so that you know how much is left of a file to play and how long it has taken to load.
The OLED1306 and PCD8544 use completely new routines for the firmwares saving a lot of memory.
Folder navigation is now different. Rather than using the Menu button on TZXDuino or the Stop button on CASDuino to return to the ROOT directory, if you press the stop button when no file is playing you will go up one folder only making it easier to navigate.

TZXDuino
The TZXDuino has had a menu added so that MSX users can set the Baud rate of TSX files so that they can load faster than normal.
A few more emulator only IDs have been fixed so that they are skipped by TZXDuino.

CASDuino
CASduino has had a Baud Rate of 3675 added to…

TZXDuino 1.7

TZXDuino 1.7
This fixes issues with pause lengths that we never noticed before. It should fix games like Top Gun and Street Hawk for the Spectrum and make CDT files behave as they should for the Amstrad CPC.Changes.
*Maximum pause length of 8.3 seconds due to the TimerOne library has been worked around.
*ID20 Pause Block fixed.
*Temporary fix for pause after motor control removed.https://mega.nz/#!aEt1VJKZ!ZFw-fP3bkNTtiPlbG_IllmR94Xni3KvIGUn6Jggfof8

Finally the PCD8544. Almost.

For the last few months I've been talking about how to add the PCD8544 (also known as the Nokia) screen to the devices.
Unfortunately this has not been as easy as I'd first hoped largely due to differences in the screens. Some work well with the standard 5v of the Arduino Nano, others need the voltage in to be 3.3v. Some need resistors others don't. Finally however I can start to write things up properly though.
The software has been written and is fully functioning for a while and whilst there are no improvements in what the ArduiTape/CASDuino/TZXDuino can do, it does use less memory than the other screens and looks a little nicer, in my opinion.


CASDuino Turns Two.
I have been reminded by my Facebook posts that today I completed my first CASDuino specific PP9 build two years ago today.
I used the PP9N Evatron case as I was inspired by one of the TAPuino builds and it's a nice case to work with.
Certain small things have changed since then, button caps, reset switch, diffe…