Posts by imi415

    Hi,

    I'm using Artery AT32F413 with J-Link, and it seems erase and downloading fails on this chip. Here's what I experienced.

    1. After initiated connection, J-Link complains about secured part and prompted to unlock. After unlocking the chip, reading from flash memory works fine.

    2. Use erase command (with or without arguments) to initiate a mass-erase or sector erase, then I got the following error indicating there was a issue in RAMCode:


    3. Disconnect and connect using JLinkExe again, I still got the same secured part prompt with or without a power cycle to the target board. Still, reading protection status gives 0x5AA5 (not secured).

    Code
    J-Link>Mem32 0x1ffff800 1
    1FFFF800 = FFFF5AA5

    4. Using J-Flash on this device gives similar output, readback/erase always fails no matter the target RAM usage settings. (default 64k, however Artery only has 32k available by default).

    5. Using CMSIS-DAP mode with vendor supplied flash algorithm (CMSIS-Pack) worked fine. Tried using ISP mode to unlock and unsecure device, the unlock was a success, can erase device using CMSIS-DAP mode, still no luck with J-Link software.

    Thanks & Best Regards,
    Yilin Sun

    Hi,
    After updated to SES 7.10, the pre-built libraries are not shipped with SES any more, instead they are built from source as needed.
    This is nice, however on Linux the /opt directory is not always writable or access is limited to certain users.
    Are there any options to change the system libraries' output to other directories, e.g. $(StudioUserDir)/lib ?

    * EDIT*
    The typical use case is multiple users are sharing an SES installation, and the libraries created with one user's UID and GID are not writable to another user.

    Thanks & Best Regards,
    Yilin Sun