In order to use the Flash Magic programming software, you first need to be sure that your device is supported. Devices from NXP (Philips) and their low power variants are supported, namely:
- P89C51RC2
- P89C51RD2
- P89C60X2
- P89C61x2
- P89LV51RC2
- P89LV51RD2
- P89V51RB2
- P89V51RC2
- P89V51RD2
If your device is not one of these, it's a toss up whether the Flash Magic software can in fact program the device, but you may be lucky if your device is close.
Baud rate is the number of bits/ sec that can be transferred. The baud rate is primarily dependent on the crystal frequency you are using with the device, and what the software supports, obviously. I'm sure the programming spec will be in the datasheet for the device, or an available app note from the manufacturer.
The COM Port that you will use will very much depend on what else you have connected to your computer, whether you have actual physical ports on the computer or if you are using a USB to Serial cable etc. If using a serial cable and a physical port on your computer, you may have COM1, COM2, COM3 or COM4 depending on what you have plugged in, but commonly only COM1 and COM2 are listed. However, if using a USB to Serial cable, it may install the driver and initially use COM7 etc. Check in your device manager what port has been assigned to the cable or what physical ports you have and pick an unused one. Select your COM Port in the Flash Magic software to match the computer settings and baud rate.
Lastly, you need to make sure that whatever compiler/ assembler that you are using is producing the appropriate Intel Hex files for uploading to your chosen device.
I see from your post that it is an Atmel device that you have on hand, you may be better off using the official Atmel programming cable software and one of the many circuits posted throughout the web to flash your device. The programming software can be downloaded from the Atmel site along with useful header files and libraries that support your compiler. Here's a link:
http://www.atmel.com/products/micro...ash_isp-in_system_programmable.aspx?tab=tools
I hope this helps you out