FX3 Eeprom Max size

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ToKi_1339406
Level 2
Level 2
10 questions asked 5 replies posted 5 questions asked

Dear supports,

we want to use memory in normal operation F/W (280KB) + backup F/W (280KB).

During normal operation, only F/W (280KB) is used. If there is a problem with the F/W in the EEPROM, we would like to be able to boot to the Backup F/W.

(Only one of normal operation F/W or backup F/W)

Currently, we understood that the use of 256KB EEPROM 2EA in FX3 is the limit specification.

However, the EEPROM memory-related restrictions on the FX3 document have not been confirmed and the reason is unknown.

Please answer the following questions.

  1. 1. Reason for FX3 + 256K EEPROM 2EA limit specification
  2. 2. Whether FX3 and EEPROM can be used as follows.

   1) FX3 + 512KB EEPROM 1EA

   2) FX3 + 512KB EEPROM 2EA

Best Regards,

Tony Kim

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.

Hello Hyundong,

It is not possible for FX3 Bootloader to address 1024KB (512KB x 2).

As mentioned on Page 13, Section 5.1 Features of the EZ-USB® FX3™/FX3S™ Boot Options:

It is only possible to address a max of 4 x 128KB (highlighted in green) EEPROM's which gives the total size that can be used as 512KB as shown in the image attached

So, you can either use 4 x 128KB or 2 x 256 KB EEPROM's (1 x 512KB EEPROM can be interfaced but we haven't tested it on our end).

Regards,
Yashwant

View solution in original post

3 Replies
YashwantK_46
Moderator
Moderator
Moderator
100 solutions authored 50 solutions authored 50 likes received

Hello Tony,

"we want to use memory in normal operation F/W (280KB) + backup F/W (280KB)."
=> Can you please let me know if you are building the firmware in Debug mode or Release mode?

If the firmware is built in debug mode, please change and build it in release mode and then share the firmware size.

It is recommended to use the firmware image built in Release mode, as the size of the generated image file in the Release version is smaller than that in the Debug version.

Regards,
Yashwant

0 Likes

Hi Yashwant

It was built in release mode and the size of the img file is 280KB.

I use the 280KB area of the entire EEPROM 512KB area as the main F/W of FX3.

And I want to use some area of EEPROM as backup F/W area.

(To boot in case Main F/W is broken)

Main F/W (280 KB) + backup F/W (280 KB) will be 560 KB.

Since the F/W size you want to use is larger than EEPROM 512KB (256KBx2EA), I would like to change it to 1024KB (512KBx2EA) EEPROM.

Is it impossible to use 1024KB (512KBx2EA) for FX3?

Of course, the FX3 action F/W is 280KB, and some areas of the EEPROM (backup F/W) are not accessible during operation.

Regards,
Hyundong

0 Likes
lock attach
Attachments are accessible only for community members.

Hello Hyundong,

It is not possible for FX3 Bootloader to address 1024KB (512KB x 2).

As mentioned on Page 13, Section 5.1 Features of the EZ-USB® FX3™/FX3S™ Boot Options:

It is only possible to address a max of 4 x 128KB (highlighted in green) EEPROM's which gives the total size that can be used as 512KB as shown in the image attached

So, you can either use 4 x 128KB or 2 x 256 KB EEPROM's (1 x 512KB EEPROM can be interfaced but we haven't tested it on our end).

Regards,
Yashwant