Skip to content

prudebug: Add support for AM57x #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2021
Merged

Conversation

DhruvaG2000
Copy link

@DhruvaG2000 DhruvaG2000 commented Jul 14, 2021

  • Tested the new jump instruction j <num> and the rest ss, halt, r, etc. are also all working fine.
  • To view the program that I built and flashed please click here

New Features:

  • AM57x1: Support PRU 1 core 0 and 1
  • AM57x2: Support PRU 2 core 0 and 1

Changes:

  • modified: README.md
    Add the 2 new options AM57x1 and 2

  • modified: prudbg.c
    Add AM57x1 and 2

  • modified: prudbg.h

    • Add #defines for AM57x1 and 2
    • Make AM57x1 as default

- AM57x1: Support PRU 1 core 0 and 1
- AM57x2: Support PRU 2 core 0 and 1

Changes:
- modified:   README.md
Add the 2 new options AM57x1 and 2

modified:   prudbg.c
- Add AM57x1 and 2

modified:   prudbg.h
- Add #defines for AM57x1 and 2
- Make AM57x1 as default
prudbg.h Outdated
@@ -10,14 +10,15 @@
#define PRUDBG_H

// default processor to use if none is specified on the command line when prudebug is started
#define DEFAULT_PROCESSOR_INDEX AM335x
#define DEFAULT_PROCESSOR_INDEX AM57x1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the change of default. I'd leave the old one. Later we could add an autodetect feature

@giuliomoro
Copy link
Owner

it looks good, thanks. I would undo the line that sets the AM5 as default. So the "byte instead of word addressing" commit by Mark Yoder was not needed in the end?

@DhruvaG2000
Copy link
Author

So the "byte instead of word addressing" commit by Mark Yoder was not needed in the end

Nope.
Sure you can revert to the old default am335x, or should I do that?

@giuliomoro giuliomoro merged commit 751485d into giuliomoro:master Jul 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants