EmbeddedRelated.com
Forums

pk22xx-Question

Started by Heru Setiawan February 1, 2011
Hi All
i found at pk22xx have several memory:
1. EPROM (up to 512K) or flash EPROM (up to 256K) for program
and nonvolatile data storage.
2. EEPROM (512 byte standard) for storing system information. (use: 24ac04 ).

but i confuse with function of EEPROM. it means if i download *.bin
file from C Dynamic via rj-12(serial port) or plcbus. where is *.bin
stored? at EPROM or EEPROM, of couse i already set jumper to active
EPROM.
What content of system information from EEPROM? Is it file used by c
dynamic for identify board? if i change with blank EEPROM, can pk22 is
running?

Best Regards

Heru S
Thanks Mr.Dave

1. base on jumper at pk22xx, JP2, JP3. only used base on size of
EEPROM/SRAM. how to select one of them? via code or others?
2. is it the same if i program EPROM via rj11 or via PLCBus, because
our machine is use XP8700 to download *.bin file?
3. Normally, if i power on pk22xx with AT29C010A Flash Memory 1mb. the
led indicator is on and buzzer beep 3 times but when use m27c256b [UV
EPROM and OTP EPROM 256 Kbit (32Kb 8)] with correct jumper, the led
indicator off and no buzzer beep.
What is the indicator status of pk22xx if good condition?
4. how to debug our program? used step run? or we can monitoring
pk22xx what function that working?
Best Regards

On Wed, Feb 2, 2011 at 11:18 AM, d...@axoninstruments.biz
wrote:
> Hi Heru
>
> The eeprom is for storing data only that you need backed up such as for calibration data etc. Is limited amount of data.
>
> The *.bin files is stored in the Flash memory. On some boards it is copied to RAM on power up before being run. This is automatic and not something you need to worry about.
>
> Just program via the RJ11 and it will all work.
>
> If you are developing your own code you can also debug via the RJ11.
>
> Regards
> Dave McLaughlin
> PT Axon Instruments
> Jakarta
> Indonesia
> Mob: +62 818973195
> Skype: dave-axon-jakarta
> http://www.axoninstruments.biz
> -----Original Message-----
> From: Heru Setiawan
> Sent: 02 February 2011 08:20
> To: r... ; dave@axoninstruments.biz
> Subject: pk22xx-Question
> Hi All
> i found at pk22xx have several memory:
> 1. EPROM (up to 512K) or flash EPROM (up to 256K) for program
> and nonvolatile data storage.
> 2. EEPROM (512 byte standard) for storing system information. (use: 24ac04 ).
>
> but i confuse with function of EEPROM. it means if i download *.bin
> file from C Dynamic via rj-12(serial port) or plcbus. where is *.bin
> stored? at EPROM or EEPROM, of couse i already set jumper to active
> EPROM.
> What content of system information from EEPROM? Is it file used by c
> dynamic for identify board? if i change with blank EEPROM, can pk22 is
> running?
>
> Best Regards
>
> Heru S
>
Hi Heru,

Unless you have the original source code for the BIN file you cannot do
debugging. You can only debug source code.

I am not familiar with the PK2200 hardware so I am hoping someone else might
be able to assist you with this one but it sounds like the UV EPROM is not
being programmed.

Dave...
---
Very funny Scotty, now beam down my clothes!!!
---

From: r... [mailto:r...] On
Behalf Of Heru Setiawan
Sent: 02 February 2011 11:36
To: d...@axoninstruments.biz
Cc: r...
Subject: [rabbit-semi] Re: pk22xx-Question

Thanks Mr.Dave

1. base on jumper at pk22xx, JP2, JP3. only used base on size of
EEPROM/SRAM. how to select one of them? via code or others?
2. is it the same if i program EPROM via rj11 or via PLCBus, because
our machine is use XP8700 to download *.bin file?
3. Normally, if i power on pk22xx with AT29C010A Flash Memory 1mb. the
led indicator is on and buzzer beep 3 times but when use m27c256b [UV
EPROM and OTP EPROM 256 Kbit (32Kb 8)] with correct jumper, the led
indicator off and no buzzer beep.
What is the indicator status of pk22xx if good condition?
4. how to debug our program? used step run? or we can monitoring
pk22xx what function that working?

Best Regards
thanks Mr.Dave. maybe if technical support from rabbit here this problem can
solve because i only get minimum reference from pk22xx manual.

Regards
Heru S

On Wed, Feb 2, 2011 at 5:21 PM, Dave McLaughlin <
d...@nerdshack.com> wrote:

> Hi Heru,
>
> Unless you have the original source code for the BIN file you cannot do
> debugging. You can only debug source code.
>
> I am not familiar with the PK2200 hardware so I am hoping someone else
> might be able to assist you with this one but it sounds like the UV EPROM is
> not being programmed.
>
> Dave...
>
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
>
> *From:* r... [mailto:r...] *On
> Behalf Of *Heru Setiawan
> *Sent:* 02 February 2011 11:36
> *To:* d...@axoninstruments.biz
> *Cc:* r...
> *Subject:* [rabbit-semi] Re: pk22xx-Question
>
> Thanks Mr.Dave
>
> 1. base on jumper at pk22xx, JP2, JP3. only used base on size of
> EEPROM/SRAM. how to select one of them? via code or others?
> 2. is it the same if i program EPROM via rj11 or via PLCBus, because
> our machine is use XP8700 to download *.bin file?
> 3. Normally, if i power on pk22xx with AT29C010A Flash Memory 1mb. the
> led indicator is on and buzzer beep 3 times but when use m27c256b [UV
> EPROM and OTP EPROM 256 Kbit (32Kb 8)] with correct jumper, the led
> indicator off and no buzzer beep.
> What is the indicator status of pk22xx if good condition?
> 4. how to debug our program? used step run? or we can monitoring
> pk22xx what function that working?
>
> Best Regards
>
>
>