MC68360

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC68360

2,867 次查看
maoma
Contributor II


Hello everyone, I am looking for MC68360 to develop a program, but I really can't find it. I need everyone's help

0 项奖励
回复
5 回复数

2,828 次查看
TomE
Specialist II

You said you wanted an MC68360, implying you wanted a hardware chip. Now you want software examples?

Where to get drivers? You can do what we did 31 years ago, which was to read the Reference Manual and Data Sheet and write the C code from that.

You could always ask ChatGPT to write a driver for you. It makes very confident mistakes when programming old hardware. Seriously, it might have been trained on some drivers and might generate something (from all it has seen) that is close to working.

Or check the Linux sources for the last time someone ran Linux on a 68K or ColdFire or PPC with the same UART in it. Ditto other drivers.

https://elixir.bootlin.com/linux/v6.11/source/drivers/tty/serial/

You've got the big advantage that the hardware is a LOT simpler than the stuff in more modern chips.

Tom

 

2,825 次查看
maoma
Contributor II
Thank you so much, thank you
0 项奖励
回复

2,850 次查看
TomE
Specialist II

31 year old CPU. Good luck with that. Do you want just the chip or a complete computer with operating system, compiler, IDE and everything you need to write, load and run the program? We really need more details to know what you want.

Tom

 

2,842 次查看
maoma
Contributor II
I currently have very little information about MC68360. I need application programs for the chip and sample programs for various peripheral modules, such as TIMER and UART. They can be used on CodeWarrior software, but I only found function definitions related to MC68360 C language on the official website. I hope you can help me and provide some program information. Thank you very much!
0 项奖励
回复

2,648 次查看
TomE
Specialist II

You've posted another thread basically asking "help". You should have replied to this thread rather than start a new one.

Did you find anything in the Linux sources? That's your only real hope. You're not going to get "running code", not 31 years after the chip and any development systems were released ... to run on DOS or Windows 3.1. Yes, this is THAT old.

The 68360 is a VERY complicated chip. The User Manual has 962 pages in it. To use this chip you have to start by reading and understanding all of those pages. Then there's the other 47 documents on NXP's site on this CPU. You don't need to read all of them, only 10 or 20.

That's what we had to do 31 years ago. There weren't any shortcuts then, and there aren't now.

This is not like starting a project on an Arduino where what you get "runs out of the box". These things generally don't.

What are you trying to do? Is this a company with some very old hardware they're still supporting and the software needs some changes or bug fixes? Is this an education project to "get something running on this? Do you have custom hardware or the original development system?

Tom

 

0 项奖励
回复