JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

The new Motorola HCS08 Flash processor (JP1.2)
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Hardware
View previous topic :: View next topic  
Author Message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Fri Dec 10, 2004 6:03 pm    Post subject: The new Motorola HCS08 Flash processor (JP1.2) Reply with quote

UEI is switching over to using a new flash chip from Motorola for their new line of OFA and RS remotes. These remotes do have a 6-pin connector but the current JP1 cables and software won't work with them.

I have a copy of what I believe is the right data sheet for this chip here.

I'm setting up this thread for discussing what we need to do to make these new remotes JP1 compatible.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Thu May 10, 2007 7:22 am; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
Herbie



Joined: 02 Feb 2004
Posts: 81

                    
PostPosted: Fri Dec 10, 2004 6:24 pm    Post subject: Reply with quote

So can I assume that the 6-pin connector in the "JP1.2" remotes is the "Background Debug Controller" interface?

Interesting.

All of the following is based on a 5-minute browsing of the datasheet:

Looks like the 1-wire interface (really 4-wires) can do what we need it to do: read/write flash, etc. Its a bidirectional interface, so a controller on the other end would need to be able to toggle that pin.

I've only briefly looked at the spec-sheet for the Delcom chip. I know the cypress base chip has reconfigurable ports, but does the Delcom ROM make that available via its command interface? (I'm guessing it does, but I actually don't know the pinout of JP1!) If so, it could probably built right on as a second 6-pin interface to Tommy's "Improved USB" design (9 GPIOs free, IIRC), so one chip could talk to both JP1 and the new standard.

One way or the other, I think the actual interface portion isn't too difficult. If the Delcom chip supports a bidirectional GPIO, then great. If not, I think similar offerings from Microchip or Cypress can be had that offer a windows-level interface via USB.

Obviously most of the "work" happens in IR, which means so does most of the programming effort. New routines are probably needed for issuing the read commands via that interface, and dealing with the response. Same for sending.

Deciphering the storage structure, etc. comes after the interface is working, but the smart people here probably know what to look for.

Thanks Rob, I'll dig more deeply into that datasheet after the weekend.

Cheers.
_________________
TiVo FREAK!
Brutalizing my 15-1994 since 2000, thanks to JP1
Now abusing a 6131m, 2116, and 2104 too!
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Fri Dec 10, 2004 7:50 pm    Post subject: Reply with quote

Even without changes to IR, if someone were to write a stand-alone program that would just read and write the data in the standard IR format, people could still use IR to manipulate the data, until such time as IR is modified to handle the new chip.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Fri Dec 10, 2004 8:21 pm    Post subject: Reply with quote

The Robman wrote:
people could still use IR to manipulate the data

Rob,

Do you know if the data storage on the new chip is the same as the current EEPROM, or did UEI change the format?
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Fri Dec 10, 2004 9:19 pm    Post subject: Reply with quote

Until we get the first dump, I have no idea, but I'm ginna guess that once we see it, we'll be able to figure it out pretty quickly.

However, one thing occurs to me. Most of us have put all our energy into developing S3C8 stuff (ie, special protocols, extenders, etc). We've left all the Motorola stuff up to Mike E, but once these new remotes become standard, we're all gonna have to brush up on our 6805 assembly skills.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mr_d_p_gumby
Expert


Joined: 03 Aug 2003
Posts: 1370
Location: Newbury Park, CA

                    
PostPosted: Sat Dec 11, 2004 1:07 am    Post subject: Reply with quote

The Robman wrote:
We've left all the Motorola stuff up to Mike E, but once these new remotes become standard, we're all gonna have to brush up on our 6805 assembly skills.
Razz Razz Razz Good thing I put a 6805 assembler in PB.

I've looked at the HCS08 data sheet as well. The flash memory is divided into segments, and parts of it can be read-protected. My guess is that the "JP1" area will be unprotected, and probably resembles the current EEPROM in structure (but that's only conjecture at this point). One complication in reading the flash is that the 1-wire debugger interface can be operated at different bit rates. There is a command to interrogate it for speed, but that requires the inteface to measure a time period fairly accurately. I doubt the final JP1.2 interface would need this, but we might need it for initial investigations.

On the bright side, once you all have brushed up on your 6805 assembly skills, we can create an extender that simply replaces the entire flash contents. That opens up quite a few possibilities, huh?
_________________
Mike England
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Sat Dec 11, 2004 10:40 am    Post subject: Reply with quote

mr_d_p_gumby wrote:
On the bright side, once you all have brushed up on your 6805 assembly skills, we can create an extender that simply replaces the entire flash contents. That opens up quite a few possibilities, huh?

Do you think that's likely to be possible? I've got to imagine that UEI would have made sure the ROM portions were protected before they elected to use it, especially as they know that we're out here ready to hack away at it.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mr_d_p_gumby
Expert


Joined: 03 Aug 2003
Posts: 1370
Location: Newbury Park, CA

                    
PostPosted: Sat Dec 11, 2004 4:42 pm    Post subject: Reply with quote

The Robman wrote:
Do you think that's likely to be possible? I've got to imagine that UEI would have made sure the ROM portions were protected before they elected to use it, especially as they know that we're out here ready to hack away at it.
Well, you can always overwrite the flash even if it is protected. (That would assume that we could write all the code from scratch.) However, if someone's got the time & energy, the read-protection is provided by an 8-byte password.
_________________
Mike England
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Sat Dec 11, 2004 6:47 pm    Post subject: Reply with quote

It appears that the chip they'll be using is an MC9S08RC16.

Here is the specific data sheet for this chip.

Here is an index to lots more info on it.

And here is some software that might be useful. And a more recent link (as of 2020).
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Fri Sep 11, 2020 6:11 pm; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Sun Dec 12, 2004 12:14 am    Post subject: Reply with quote

I have a hybrid remote that has the new HCS08 chip and an EEPROM on board. It also has the regular EEPROm based 6-pin along with a soldered on 6-pin that I presume is the same as the 6-pin on the new remotes.

Here's how the pins are connected.

1: pin 24 which is PTD0/BKGD/MS
2: ground (and pin 7, which is Vss)
3: not conencted
4: pin 25 which is PTD1/RESET
5: not connected
6: pin 6, which is Vdd

I was also curious where the SDA and SCL pins from the EEPROM went:

SDA: pin 26, which is PTD2/IRQ
SCL: pin 30, which is PTD4/ACMP1-
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Herbie



Joined: 02 Feb 2004
Posts: 81

                    
PostPosted: Mon Dec 13, 2004 1:46 pm    Post subject: Reply with quote

That lines up with the "Standard BDM Tool Connector" pinout in that chip spec.

Maybe I'll ask around about what one of the standard development tools would cost... hmm...
_________________
TiVo FREAK!
Brutalizing my 15-1994 since 2000, thanks to JP1
Now abusing a 6131m, 2116, and 2104 too!
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Mon Dec 13, 2004 4:04 pm    Post subject: Reply with quote

Check the Metro Werks link above as you can download a free evaluation copy of their software.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
andyross



Joined: 13 Jun 2004
Posts: 261
Location: Aurora, IL

                    
PostPosted: Sat Dec 18, 2004 11:50 am    Post subject: Reply with quote

Is this new chip the one being used in the Comcast silver remotes?
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21211
Location: Chicago, IL

                    
PostPosted: Sat Dec 18, 2004 12:43 pm    Post subject: Reply with quote

The Comcast "JP1.1" remotes use an SST 65P542R flash chip:
http://www.hifi-remote.com/files/chip-manuals/SST-65P542R.pdf
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
jherrick
JP1 Vendor


Joined: 31 Dec 2003
Posts: 225
Location: South Berwick, ME

                    
PostPosted: Thu Feb 17, 2005 8:27 am    Post subject: Reply with quote

This looks interesting...
http://www.newark.com/eflyer/softec/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Hardware All times are GMT - 5 Hours
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Page 1 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control