Bringing up Rhococo (first boot, and firmware development)

From RevSpace
Revision as of 03:21, 4 May 2019 by Mahjongg (talk | contribs) (May 3, 2019 updated schematic and Layout)
Jump to navigation Jump to search
Project Bringing up Rhococo
Propeller IDE.png
This tells the story of how the firmware and software was developed that gives rhococo its functionality
Status Initializing
Contact mahjongg
Last Update 2019-05-04

This page describes the initial bringing up (designing and installing firmware and software) that will give Rhococo its functionality.

First we have to install the tools we need. For programming the propeller we have to install the propeller IDE, https://developer.parallax.com/propelleride/ . Fortunately I have already installed the latest version, when doing some initial research, and I have it working with my propeller based game development system, I bought some ten years ago, when thinking about building my own home computer was still a pipe dream.

May 1, 2019 First attempts at sending a propeller program to Rhococo

I tried to send a modified version of LEDblink to Rhococo but failed (my debug LED is on A0, just like the Hydra). I was not sure my USB-serial adapter was compatible, and I used an oscilloscope to check, but that wasn't it, the adapter, which is intended for small Arduino compatibles without a built in serial programming port, seemed okay, and DTR was toggled by the programming software. Only for some unclear reason the nRESET input on the propeller stayed low. The USB dongle had a 100nF cap in its DTR line, but that could not be it. I removed the 2N3904 transistor, but nRESET kept being stuck low. All the schematics I could find about the programming interface seemed to imply that the nRESET pin had a built in pullup, so I hadn't implement an external one, but it seemed that without one nRESET didn't go high. So I added a 10K pullup, and now nRESET goes high, but without a new 2N3904 I have to wait till next week to try again.

May 2, 2019 Found out why nReset "floats"

its because I have tied the brownout input (BOEn) high, this turns off the built in 5K pullup. BOEn should be tied low instead.

May 3, 2019 updated schematic and Layout

new version is revision 2.0 (after version 1.9) it has BOEn tied low, and other recent updates, such as bleeder resistors, an 5mm pitch caps. schematic is here: File:RHOCOCO rev2.0.pdf

RhoCoCo Rev 2,0.png

May 4, 2019 programming the propeller works ITS ALIVE!

I managed to get BlinkLEDRhococo.spin to upload, and program into the Rhococos EEPROM, and the blinking program starts when turning on the USB supply.