Fórum

HCS200 decoder with...
 
Notifications
Clear all

HCS200 decoder with Pic12F629

8 Posts
2 Users
0 Likes
2,017 Leituras
(@trungkien20188)
Active Member
Joined: 7 anos ago
Posts: 5
Topic starter  

I have a question is. Microchip's HCS200 chip has to write code and load code for it. As the forum owner wrote the program for pic12f629 to decode the HCS200.


   
Quote
(@clarios)
Reputable Member Admin
Joined: 12 anos ago
Posts: 357
 

The program was loaded into the pic as per the article, and then the HCS200 was programmed to accept the pic program.

Please, see this Datasheet HCS200 :
http://ww1.microchip.com/downloads/en/DeviceDoc/40138c.pdf

The  HCS200  contains  192  bits  (12  x  16-bit  words)  of EEPROM memory (Table 3-1). This EEPROM array is
used to store the crypt key information, synchronization value, etc.
The kript key should be the same on the receiver and transmitter. Was used Key 0123456789ABCDEF in the receiver.
Make:
Sync=0, SEED_0=0, SEED_1=0, SER_0=0 (or choice another),SER_1=0 (or choice another), CONFIG bit 0 to 11 = SER_0 bit 0

to 11, CONFIG bit 12 =1 (low trip point - 9 a 12 volts), CONFIG bit 13,14,15=0 (400 us baudrate).
Use PicKit2 or another programmer  to program these settings on the HCS200.

.

You can also see this note application that describes how to build a programmer: Note application AN217 :
http://ww1.microchip.com/downloads/cn/AppNotes/cn_00217a.pdf


   
ReplyQuote
(@trungkien20188)
Active Member
Joined: 7 anos ago
Posts: 5
Topic starter  

If the HCS200 has been preloaded, can we read that code?


   
ReplyQuote
(@clarios)
Reputable Member Admin
Joined: 12 anos ago
Posts: 357
 

Unfortunately its not possible. See Datasheet HCS200 page 10: "For security reasons, it is not possible to execute a Verify function without first programming the EEPROM. A Verify operation can only be done immediately following the Program cycle."


   
ReplyQuote
(@trungkien20188)
Active Member
Joined: 7 anos ago
Posts: 5
Topic starter  

You can instruct to program the program and then write to the HCS200. I want to make the remote control the door. Thank you!


   
ReplyQuote
(@trungkien20188)
Active Member
Joined: 7 anos ago
Posts: 5
Topic starter  

Can you help me?


   
ReplyQuote
(@clarios)
Reputable Member Admin
Joined: 12 anos ago
Posts: 357
 
If you do not have experience with programming pics will be very difficult to achieve success. Try to start by learning to program pics by watching youtube videos or doing a programming course. After learning to program, you should load the firmware of the pic 12f629 of the article and then program the Hcs 2xx with the values ​​shown in the comment above (Key, Sync, etc).
I wish success in your endeavor

Cláudio

   
ReplyQuote
(@trungkien20188)
Active Member
Joined: 7 anos ago
Posts: 5
Topic starter  

I also know programming with the pic microcontroller line. The way I ask is because I do not see any documentation that shows how to load code for the HCS200 chip. Your program is written in ASM language, if written in CCS is good


   
ReplyQuote
Back To Top