[ABANDONED] Cannot connect to At91SAM7SE256 using J-Flash V5.02c and J-Trace CS V3.10

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] Cannot connect to At91SAM7SE256 using J-Flash V5.02c and J-Trace CS V3.10

    I am attempting to download a new production hex file to one of our communication modules which uses the AT91SAM7SE256 micro. I have j-flash V5.02c and a J-Trace CS V3.10 emulator.
    Our product uses an external clk signal input from a VPC3+ Profibus ASIC @ 12MHz. The PLL is setup for a Master clk freq of 25.8MHz.
    In setting up the J-flash project, I started with the template project for the AT91SAM7SE512(no template for AT91SAM7SE256). I changed the CPU to AT91SAM7SE256 in the project and modified the Init steps for our product. See below. With these settings I am getting the error "Failed to connect Could not establish a connection to the target". However when I bring up the project settings in J-flash on the Target interface tab, it can "Detect" the target as a #0 ARM76TDMI core ID:0x3F0F0F0F. Any ideas on why I cannot connect?
    Init
    # Action Value0 Value1 Comment
    0 Reset 0 0ms
    1 Write32 0xFFFFFD44 0x00008000 Disable WD
    2 Write32 0xFFFFFF60 0x00290100 EFC0
    3 Write32 0xFFFFFF70 0x00290100 EFC1
    4 Write32 0xFFFFFC20 0x00000002 Set PLL
    5 Delay 200ms
    6 Write32 0xFFFFFC2C 0x002A1905 Set PLL and divider
    7 Delay 200ms
    8 Write32 0xFFFFFC30 0x00000008 Select PLL
    9 Delay 200ms
    10 Write32 0xFFFFFC30 0x0000000B Set Master Prescaler
  • Hi,

    Could you please provide the complete J-Flash project you are using?
    Sounds like a configuration issue.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.