|
我找了好多tftp server的工具 我的win7都不能用..不知道为啥.
另外,请教个rawOS的问题,在helper2416上面启动之后,shell里面的测试命令应该怎么用?
我这样尝试了,貌似不对,指的是number么?
- rawos # help
- help: Lists all the registered commands
- iic_test -- <iic addres> <dat> if the arg1 is -a iic a loop
- test: it's a demo command for user to add self define command into command list!
- wtd(watchdog): <mode> <timeout> , first argument <mode> is to select reset(1), f
- tftp: test tftp) or
- spi -- < arg > i:init a:test all b:eraser bulk w:test write r:test read t:test t
- ime
- hsmmc: <mode> <startblock> <blocknums> <data> mode:1 write ,2 read
- fatfs: no argument. it will creat tow floder in your car
- pwm test j: pwm_open --<nom>--
- pwm close test : pwmclose_shell --<nom>--
- yaffs -- < no arg >
- reboot -- < no arg >
- ucgui: no argument. it will creat a uCGUI task in you system
- rawos # pwm test 2
- Command not recognised. Enter "help" to view a list of available commands.
复制代码
我直接启动pwm测试,也就是改写shell_task函数为:
- void shell_task(void *p_arg)
- {
- Uart_Printf("\r\n");
- Uart_Printf("rawos...test pwm");
- pwm_open(2);
- while (1) {
- read_cmd();
- }
- }
复制代码
结果是这样的:
- ## Starting application at 0x30800000 ...
- Uart 00 init over
- CPU: S3C2416@534000000Hz
- Fclk = 534000000Hz, Hclk = 133500000Hz, Pclk = 66750000Hz
- rawos...test pwmpwm3 begin.......................
- the dudy ratio is 0.5...............
复制代码 看起来timer没有起作用,求指点调试思路
|
|