SAM-BA 没有响应 olimex sam7s256

发布于 2024-09-13 07:00:51 字数 525 浏览 5 评论 0原文

我使用的是 Olimex sam7s256 板。我尝试在 Linux (Ubuntu) 上启动并运行它。我能够成功安装 GCC 和 binutils。我从 atmel 网站安装了适用于 linux 的 SAM-BA。我能够按照 SAM-BA 手册 (.dev/ttyUSB0) 中指定的方式获取用于连接的 USB 端口。 但是当我尝试使用 GUI 并“连接”时没有任何响应。 我认为连接失败,所以当我按下板上的重置按钮时,我收到一条消息“无法初始化闪存访问”。 无论我在按下重置按钮之前等待多长时间,我都没有收到任何 SAM-BA 窗口,如下其他教程所示 alt text

有人可以帮我解决这个问题吗? 我设置了“tst”跳线,重新连接电路板 10 秒,断开连接并重置“tst”跳线,在打开 SAM-BA 之前重新连接。 任何帮助将不胜感激。 我被困住了。 SAM-BA 2.9 和 2.8 都是相同的。

I am using an Olimex sam7s256 board. I tried to get it up and running in linux (Ubuntu). I was able to successfully install GCC and binutils. I installed SAM-BA for linux from the atmel site. I was able to get the USB port for connection as specified in the SAM-BA manual (.dev/ttyUSB0).
But when I try to use the GUI and 'connect' there is no response.
I though that there is a connection failure, so when I presses the reset button in the board, I get a message "Failed to initialize FLASH accesses".
No matter how long I wait before pressing the reset button, I am not getting any SAM-BA window as given by other tutorials as below
alt text

can any one one help me out in this?
I did the 'tst' jumper set, reconnect the board for 10 s, disconnect and 'tst' jumper reset, reconnect before opening SAM-BA.
Any help will be greatly appreciated.
I am stuck.
It is the same for both SAM-BA 2.9 and 2.8.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

街角卖回忆 2024-09-20 07:00:51

此时您已经连接。如果您指定了 at91sam7256-ek,即使您没有使用该板,如果它不与芯片/板通信,也不会显示此 GUI。我最近使用 olimex sam7s-256 头板完成了这项练习。 (使用 ubuntu Linux)。如果我没有指定板类型,则会出现窗口,但它并未真正连接。

请注意 0x00200000 处的代码如何是有效指令(大多数以 0xE 开头,向量表以一堆 0xEA 开头,它们是向量表的分支),它是 ram 的,它没有组成这些指令,而是从某处读取的。将二进制文件加载到 0x00200000 范围内的 RAM 中,然后刷新内存(假设您的二进制文件与现有的不同)并查看它的变化。

当准备好/方便时,您可以擦除闪存并在内存窗口中看到闪存(0x0010000 或类似的东西)更改为所有 0xFFFFFFFF。现在请记住,当您这样做时,它不会启动。我的开发板上有一个跳线,您可以移动该跳线,然后为开发板供电,将内置引导加载程序重新加载到闪存中,以便您可以再次使用 sam-ba,我确信有一种方法可以用您的开发板做到这一点但请先阅读用户指南。

请不要因为询问使用软件工具而将这个人拒之门外。有无数的关于我如何使用我的 iPhone 模拟器或者为什么我的 Android 模拟器比我的 iPhone 模拟器慢的问题没有被触及。这个问题与任何有关如何使用 gcc 或某些网络事物或如何启动我的手机模拟器或 java 虚拟机的编程问题一样相关。我不想发起一场活动来关闭所有 gcc 或 iphone 标记的问题,因为它们不是编程问题。

By this point you are already connected. If you specified the at91sam7256-ek even if you arent using that board it will not put this gui up if it didnt talk to the chip/board. I recently went through this exercise with an olimex sam7s-256 header board. (with ubuntu linux). If I didnt specify the board type then the window came up but it wasnt really connected.

Notice how the code at 0x00200000 is valid instructions (most start with a 0xE and the vector table starts with a bunch of 0xEAs which are branches out of the vector table) that is ram it didnt make those up it read that from somewhere. Load a binary file into ram in the 0x00200000 range and the refresh the memory (assuming your binary is different from what is there) and see it change.

When ready/comfortable you can erase the flash and see in the memory window that the flash (0x0010000 or something like that) changes to all 0xFFFFFFFFs. Now remember it wont boot when you do that. With the board I have there is a jumper you move then power the board to get the built in bootloader re-loaded into the flash so that you can use sam-ba again, I am sure there is a way to do that with your board but read the users guide first.

Please do not close this person out for asking about using a software tool. There are countless numbers of how do I use my iphone simulator or why is my android simulator slower than my iphone simulator questions that dont get touched. this question is as relevant as any of the programming questions about how to use gcc or some web thing or how to start up my phone simulator or java vm. I wouldnt want to have to start a campaign to close all of the gcc or iphone tagged questions because they are not programming questions.

美人骨 2024-09-20 07:00:51

我认为我的问题被误解了。我发布的 GUI 窗口不是我得到的。我刚刚发布它是为了说我根本没有得到这样的窗口。仅当我选择“无板”时才会弹出该窗口。当我选择 SAM7S256-EK 时没有任何反应。没有窗口打开。正如您的博客 sam7stuff.blogspot.com 中所给出的,我下载了 SAM-BA。唯一的区别是您发布的内容和回复中还表明您使用的是“h”板。
现在我正在使用这个网站定制的 SAMBA 替代方案,
http://claymore.engineer.gvsu.edu/~steriana/Software/
它也是一个基于 python 的引导加载程序。虽然它是命令行。
我很想使用 SAM-BA GUI。我确信该板没问题,并且 samba 正在与该板进行通信,因为如果我选择 ARM7S256-EK 选项以外的任何其他板类型,则会出现“通信失败”。
如果您有任何建议,请告诉我。也非常感谢您对我的支持。我从这个论坛中获得了一些关于嵌入式领域的真正好的见解,我觉得这是一个讨论嵌入式编程疑虑的好地方,并且从未想过“编程”或“非编程”,因为 SAM-BA 用户指南本身谈论的是很多关于为涉及 TCL 脚本的定制板定制 SAM-BA 的信息,但我无法掌握这些概念。所以我认为有人会遇到同样的问题,并且会在这个论坛中找到 TCL 或 C“编程”解决方案。
谢谢。

I think my question was misunderstood. The GUI window which I have posted is NOT what I get. I just posted it to say that I am not getting such a window at all. That window pops up only when I select 'no board'. When I select SAM7S256-EK there is no response. No window opens. As given in your blog sam7stuff.blogspot.com, I downloaded SAM-BA. The onlydifference as u have posted and in the response also id that u are using a 'h' board.
Right now I am using a custom made SAMBA alternative from this website,
http://claymore.engineer.gvsu.edu/~steriana/Software/
It is also a python based boot loader. It is command line though.
I would love to use the SAM-BA GUI. I am sure that the board is OK and samba is communicating with the board b'cos if I select any other board type other than ARM7S256-EK option it is giving me 'communication failure'.
If you have any suggestions please do let me know. Also many thanks for backing me up. I had some real good insights from this forum about embedded field and I felt it is a good place to discuss embedded programming doubts and never thought of 'programming' or 'non-programming' b'cos for SAM-BA user guide itself talks a lot about customizing the SAM-BA for a custom made board involving TCL scripts but I couldnot get hold of the concepts. So I thought someone would have had the same problem and would have found a TCL or C 'programming' solutions in this forum.
Thank you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文