Xilinx / Xilinx/embeddedsw

Error when writing to 64-bit addresses from QSPI (xfsbl_qspi.c)

Open
#93 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The Rx buffer address location within the FlashMsg[x] struct (RxAddr64bit) is never set.

Value should be set to Destination Address (such as from u32 XFsbl_Qspi32Copy(u32 SrcAddress, PTRSIZE DestAddress, u32 Length))

Effect is that functionalities such as this call to XQspiPsu_Setup64BRxDma(const XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg) will never be hit properly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in xfsbl_qspi.c with XFsbl_Qspi32Copy and trace how its destination address is transferred into FlashMsg[x]. Compare that flow with XQspiPsu_Setup64BRxDma in xqspipsu.c. Done means the 64-bit QSPI receive path receives the destination address and reaches the expected DMA setup correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.