This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5K2E04: I am using AM5k2e04 in my design, when ever. I tryed to change boot mode using external resister. I always getting FFFF in device status register

Part Number: AM5K2E04

Hi,

Good Day. I have a customer who is working AM5K2E04. Please see below his query for your reference. Thank you very much.

I am using AM5k2e04 in my design, when ever. I tried to change boot mode using external resister. I always getting FFFF in device status register

Best Regards,

Ray Vincent

  • Hi,

    Good Day. Is there any update on this customer's query? Thank you very much.

    Best Regards,

    Ray Vincent

  • Hi Ray,

    Just to cross verify, Are the customer able to access the correct values in other registers?

    How do they read the Device status registers? Are they using CCS debug window to view the value of Device status register?

    Regards

    Shankari

  • Hi Shankari,

    Good Day. Please see below the response of our customer to your reply. Thankyou very much.

    We are using CCS memory register read option to read DEVICESTATS. We are able to read other registers and tried to read register related to DDR. I am able to modify this DEVICESTATS register through memory read window in CCS.
    As per Data sheet the Boot Mode pins are '0' by default using internal pull down but in my case I am reading all bits as high ('F'). Even I tried to make all the Boot Mode pins to low by connecting external 1K register to ground then also there is no change in Boot mode pins.

    Best Regards,

    Ray Vincent

  • Hi Ray,

    Not sure why it gives FFFF. Let me bring in hardware experts for discussion. However here are few points which might help.

    1. Hope the correct memory address of DEVSTAT is used -- 0x02620020

    2. Make sure the Power-on-reset (POR)is done before we expect the updated values in DEVSTAT register because these bits remain set until a power-on reset. The state of the boot configuration pins are latched into the device status register (DEVSTAT) at POR. 

    3. Please launch the CCS again.

    3. This DEVSTAT register will be loaded with the value from boot configuration pins. Make sure the Boot pins are configured appropriate. Check whether the boot pins are driven by FPGA.

    4. Please have a look at this thread too which discussses the similar problem. https://e2e.ti.com/support/processors-group/processors/f/processors-forum/185092/can-t-get-the-right-bootmode-value-after-i2c-boot-process

    Regards

    Shankari

  • If this is a custom board, then they should further check their reset circuit. 

    The boot loader application note has the following

    Power-on reset resets the entire chip. Everything on the device is reset to its default state and can be initiated by either the POR pin or the RESETFULL pin. While the POR pin is asserted during the power up sequence, the RESETFULL is asserted by a host to reset the entire device. The RESETFULL is also asserted during the power on reset sequence. During the RESETFULL assertion, the general purpose pins used for boot configuration are sampled to latch the boot configuration values into the device status (DEVSTAT) register.