TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 187

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 187', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | If your program doesn t appear to be working it could be there is something wrong with your reset code. You must always ensure that the binary image you ve loaded into the ROM satisfies the target processor s reset rules. During product development I often find it useful to turn on one of the board s LEDs just after the reset code has been completed. That way I know at a glance that my new ROM either does or doesn t satisfy the processor s most basic requirements. Debugging Tip 1 Debugging Tip 1 One of the most primitive debugging techniques available is the use of an LED as indicator of success or failure. The basic idea is to slowly walk the LED enable code through the larger program. In other words you first begin with the LED enable code at the reset address. If the LED turns on then you can edit the program moving the LED enable code to just after the next execution milestone rebuild and test. This works best for very simple linearly executed programs like the startup code. But if you don t have access to a remote debugger or any of the other debugging tools described later in this chapter this type of debugging might be your only choice. The Arcom board includes a special in-circuit programmable memory called Flash memory that does not have to be removed from the board to be reprogrammed. In fact software that can perform the device programming function is already installed in another memory device on the board. You see the Arcom board actually has two read-only memory devices one a true ROM contains a simple program that allows the user to in-circuit program the other a Flash memory device . All the host computer needs to talk to the monitor program is a serial port and a terminal program. Instructions for loading an Intel Hex Format file like into the Flash memory device are provided in the Target188EB Monitor User s Manual which is included with the board. The biggest disadvantage of this download technique is that there is no easy way to debug .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.