infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 8 of 8

Thread: Changing BMI setting via ASC BSL (UART)

  1. #1
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125

    Changing BMI setting via ASC BSL (UART)

    Hello,

    I am trying to set the BMI mode using ASC BSL, but unfortunately the documentation and sample program XMC1x_ASCLoader.hex do not match and neither is working.

    I have used section 3.5.2 from the documentation https://www.infineon.com/dgdl/Infine...3eb2429b8c1bdb which is current as of October 2019.

    In that section, the header references a Page Address and does not indicate the location of the BMI mode within the header.

    Using the reference program, XMC1x_ASCLoader.hex, the bytes that are sent are the following:

    00 01 00 00 ff d0 00 00 00 00 00 00 00 00 00 2e

    These bytes suggest that the Page Address is the BMI setting. However, the second byte of the header does not match the header in the documentation. As well, the XMC1x_ASCLoader.hex program bricked two chips when I attempted to set the setting to option 10, which should be 0xFFD0. It appeared to hang. If it requires some nontrivial amount of time to set the BMI mode, the program should show a timer or something.

    As a result, I am not sure what the correct bytes are or what I am doing wrong. I really don't want to brick more chips.

    Please fix the 3.5.2 section documentation and update the program XMC1x_ASCLoader.hex to either properly set the BMI or to clearly indicate if there is some time frame required before the BMI setting is complete.

  2. #2

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    775
    Hi,

    The BMI=0xFFD0 corresponds to ASC_BSLTO. In this mode, if the external tool is not connecting before 5s then the device switches to User Productive Mode (UPM) where debugging is not possible.
    Which BMI do you want to program?


    You are right, the documentation should be updated. The Mode byte for the Change BMI command is 0x1 and the BMI requested value is contained in bytes 4 and 5.


    Regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125
    Thanks for the response. 0xFFD0 is the mode I wanted to program, but both attempts to write the BMI in the Infineon supplied test program by selecting option 10 ended up hanging the program without a response and resulting in my chips not being accessible with Memtool. They also weren't accessible by UART although the program I flashed normally provides a UART interface.

  4. #4

    Infineon Employee
    Infineon Employee
    jferreira will become famous soon enough
    Join Date
    Oct 2012
    Posts
    775
    Hi,

    Have you try to program the BMI using Infineon Memtool?

    regards,
    Jesus
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125
    Hi,

    As mentioned on the 20th, the chips are no longer accessible via Memtool. I cannot connect to the chips to provide any further programming. I can program the BMI normally on other chips with Memtool but that does not address the issues associated with using the Infineon supplied test program. I would like to know if it is working and whether there is any special messaging or other actions required when setting the BMI mode via ASC BSL.

    Thanks,

    Jason
    Last edited by longtimer; Jul 23rd, 2020 at 10:58 AM.

  6. #6
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125
    Hi Jesus,

    Any update to my question from last week?

    Thanks,

    Jason

  7. #7
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125
    Any update to my question? Anyone?

  8. #8
    Beginner Beginner longtimer is on a distinguished road
    Join Date
    Jun 2014
    Posts
    97
    Points
    142.8125
    Is there a better way to get a response than this forum? Nobody seems to be monitoring it.

+ Reply to Thread

Tags for this Thread

Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.